I am using SonarQube 7.7 version. I am looking for a single maven command to run sonar analysis with java and python.
I am running sonarqube from maven profile. But when I am trying to run my profile from jenkins I see a failure with the message “Please provide the values of the properties sonar.login and sonar.password.”, in my maven profile I just provide the sonar sonar.host.url property, Can you please provide me a way to pass the login only without passing the password. So that I can run it from jenkins.
Thanks, I passed sonar login property and passed a token. It worked. But Is there any way where I specify the token on Jenkins and from pom.xml I just pass a key which will be replaced at run time. I can’t pass the token from the pom.xml for security reason.