-
Bug
-
Resolution: Unresolved
-
Major
-
None
Using withSonarQubeEnv in dockerfile agent, successive waitForQualityGate abortPipeline true results in a wrong analysisId, AXyLfj5JlX0w7MRERt_e in my case, that seems a default one, raising a Not Found on Sonarcube server. (api/qualitygates/project_status?analysisId=AXyLfj5JlX0w7MRERt_e).
Edits:
Checking status of SonarQube task 'AXyLfjqvdOUyxmZtXP4E' on server 'Sonarqube'
SonarQube task 'AXyLfjqvdOUyxmZtXP4E' status is 'SUCCESS'
It's checking totally another task that I don't know where come from. Seems an old generater ID and sticked with that forever.
Full error in case:
org.sonarqube.ws.client.HttpException: Error 404 on http://XXXX:9000/api/qualitygates/project_status?analysisId=AXyLfj5JlX0w7MRERt_e : {"errors":[
]}