Must-share information (formatted with Markdown):
-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube enterprise edition -
what are you trying to achieve
We have a CI tool as Jenkins and we have bitbucket as our source code repository and also have Jenkins files. We have around 300 projects and we don’t want to generate 300 separate tokens for each project to integrate Jenkins → Bitbucket ->Sonar. Is there a way we can generate a generic token, that authenticates Jenkins job to scan code in Sonar instead of adding separate tokens for each project?
- what have you tried so far to achieve this
We created a token with an admin account but that also didn’t authenticate the project and we are getting the below error.
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project request-transporter: You must define the following mandatory properties for ‘com.wccgroup.pdg:request-transporter’: sonar.organization → [Help 1]
Any help is appreciated.