Publish Quality Gate Result

vsts

(Alex) #1

Hi We’re getting a lot of failed builds during the publish quality gate step in our VSTS build pipeline.

The failures are intermittent. It feels like a similar issue to the one reported here SonarCloud - Stuck on publishing quality gate result

I’ve just ran five builds (of the same branch) 1 passed and 4 failed
The failure reasons are:

FAILURE 1****

2018-10-25T13:29:28.0648511Z ##[section]Starting: Publish Quality Gate Result
2018-10-25T13:29:28.0651627Z ==============================================================================
2018-10-25T13:29:28.0651705Z Task : Publish Quality Gate Result
2018-10-25T13:29:28.0651774Z Description : Publish SonarCloud’s Quality Gate result on the VSTS/TFS build result, to be used after the actual analysis.
2018-10-25T13:29:28.0651844Z Version : 1.3.0
2018-10-25T13:29:28.0651903Z Author : sonarsource
2018-10-25T13:29:28.0651959Z Help : More Information
2018-10-25T13:29:28.0652027Z ==============================================================================
2018-10-25T13:36:28.0196119Z ##[error]The operation was canceled.
2018-10-25T13:36:28.0229470Z ##[section]Finishing: Publish Quality Gate Result

FAILURE 2*************

2018-10-25T13:26:24.0731210Z ##[section]Starting: Publish Quality Gate Result
2018-10-25T13:26:24.0735955Z ==============================================================================
2018-10-25T13:26:24.0736165Z Task : Publish Quality Gate Result
2018-10-25T13:26:24.0736385Z Description : Publish SonarCloud’s Quality Gate result on the VSTS/TFS build result, to be used after the actual analysis.
2018-10-25T13:26:24.0736585Z Version : 1.3.0
2018-10-25T13:26:24.0736726Z Author : sonarsource
2018-10-25T13:26:24.0736922Z Help : More Information
2018-10-25T13:26:24.0737220Z ==============================================================================
2018-10-25T13:33:03.1940156Z ##[error][SQ] Task failed with status FAILED
2018-10-25T13:33:03.1974940Z ##[section]Finishing: Publish Quality Gate Result


(Xavier Bourguignon) #2

Hi Alex,

See SonarCloud performance issues?