Q: Generate token without interface

sonarqube

(Jonathan Velasco) #1

Hello everyone,

I am working on generating some images of jenkins docker and sonarqube on openshift, but I need for integration to take user token from the sonar portal and configure it in jenkins, is there the possibility of generating sonarqube user token without interface?

I’m working with Jenkins v2.138
Sonar v6.7.6
Openshift 3.9

making it work with a template and everything automatic

best regards


(Colin Mueller) #2

POST api/user_tokens/generate

Web API documentation available in the footer of your instance. :slight_smile:

Colin