machine/CI user token

sonarcloud
jenkins
tokens

(Mattmoskwa) #1

Hi,
Is there a way to generate a token that can be used by the CI that’s not tied to a specific account? Our use case is that we are using the SonarQube Scanner plugin for Jenkins and connecting it to SonarCloud. This works fine as long as we use the same token for each project, but currently that token is attached to a single user account, which means that user has to create each project individually. This is becoming time-consuming, and we would like other users to be able to create their own projects in sonarcloud for use with Jenkins.


(Fabrice Bellingard) #2

I see your problem, and currently there is no solution other than creating a dedicated “bot” account for which you will generate a token.


(Mattmoskwa) #3

Is there anything the pipeline? Can I make a feature request?


(Fabrice Bellingard) #4

Before answering further, can you clarify:

  • where your sources are hosted
  • what type of code you want to analyze