Can't add SonarQube User Token to Jenkins configuration...

2,532 views
Skip to first unread message

Jeff

unread,
Jun 17, 2019, 9:42:22 PM6/17/19
to jenkins...@googlegroups.com
I have a server running Jenkins 2.176.1 and am adding a new SonarQube 7.7 configuration.

I was able to connect to SonarQube anonymously, but have since enabled the option to force authentication.

I am now in need of adding a User Token (or credentials), but I see no option for doing so in a way that works.

If I click "Add", I see only a "Jenkins Credentials Provider" option:
     
image.png

Within there, there is not "Server authentication token option":



Tried adding user/password:
     image.png

But nothing shows up in the drop down menu:
     image.png


What am I missing?

Thanks!

Jeff

unread,
Jun 17, 2019, 9:43:54 PM6/17/19
to jenkins...@googlegroups.com
Sorry the auth type drop-down didn't paste.  These are the options I see for the types of credentials to create.

image.png

Quang Truong

unread,
Jun 19, 2019, 7:14:00 PM6/19/19
to Jenkins Users
Hi Jeff,

You can create the credential with "Secret text" type, which you use the token from Sonar as the secret text

Best Regards,
Quang
Reply all
Reply to author
Forward
0 new messages