Not sure if this is a bug but after the update to 4.7.0 the task “Publish Quality Gate Result” is no longer waiting until the request to our local sonarqube is finished.
Why this breaks our builds?
We query some information from the api of our on-site SonarQube instance after the task has finished. The rest call we are calling is SONARQUBEINSTANCE/api/ce/task?id=ID. We do this to get the analysis ID. This is a field that is not available if the task is still “IN PROGRESS”. Which is why we require the buils to wait until the publish is finished.
We get the following logging of the publish task: Publish Task Logging.txt (37.4 KB) I had to include it as a txt file because of the char limit.
You can see we get an html page at the end This might be why the task is not waiting. Any idea what could be causing this? We have an on-site version of Team foundation server but our build machines should all be able to access this.
In any case, thanks in advance for your help, I look forward to see this resolved.