Hello!
I have a intregation Sonarqube - Jenkins. Did a jenkins pipeline that get of status quality gates
stage("Quality Gate") {
timeout(time: 5, unit: 'MINUTES') {
waitForQualityGate abortPipeline: true
}
}
It’s work fine, but only when force user authentication disabled
I can’t leave this disabled for security reasons.
When force user authetication is enabled, I got this error
org.sonarqube.ws.client.HttpException: Error 403 on https://10.1.5.25l/api/ce/task?id=AWyQSAI3aMQ40kwwhQkq : {"errors":[{"msg":"Insufficient privileges"}]}
I understand that I need to send the username and password when requesting the API, but how do I do it?
Sonarqube version 6.7.5 - Jenkins 2.176.1