have a pipeline job which keeps failing on Sonar Quality Gate stage with the below error:

[Bitbucket] Build result notified org.sonarqube.ws.client.HttpException: Error 403 on http://illinXXXX:XXXXX/api/qualitygates/project_status?analysisId=XXXXXXXX at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:34)

What's more strange, another pipeline from the same MS, is passing that stage. They both are using the same Sonarquebe user and token, and the same stage syntax.

Sonarqube version: 6.7.1 (build 35068).


  • I also tried this, but it didn't work.
  • The logger for org.sonarqube.ws.client not working. it doesn't write anything to the log.
  • Please summarise in the Q&A what you tried.
    – 030
    Commented Dec 7, 2019 at 21:26
  • Go into Manage Jenkins -> System Log and add a new logger for org.sonarqube.ws.client that logs in DEBUG level. Otherwise there is no way to magically "guess" what's wrong here. It could be literally everything from the token being wrong, to a reverse proxy, to a plugin issue to an SSL certificate issue (although it looks like you are using http)
    – tftd
    Commented Dec 9, 2019 at 3:54

1 Answer 1


Problem: The execution user/group had permissions to run “Execute Analysis” Solution: Update the default template with permissions and push to projects (Bulk Apply Template)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.