Publish Quality Gate Result

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

Hi Alex,

See SonarCloud performance issues?

Hi this type of issue seems to be re-occuring againg

We’re getting a lot of failed builds in VSTS where the build fails on the publish quality gate step. The error logs give us very little to go on

e.g.

2019-01-28T20:41:02.0895839Z ##[section]Starting: Publish Quality Gate Result
2019-01-28T20:41:02.0899063Z ==============================================================================
2019-01-28T20:41:02.0899206Z Task : Publish Quality Gate Result
2019-01-28T20:41:02.0899264Z Description : Publish SonarCloud’s Quality Gate result on the VSTS/TFS build result, to be used after the actual analysis.
2019-01-28T20:41:02.0927169Z Version : 1.3.0
2019-01-28T20:41:02.0927232Z Author : sonarsource
2019-01-28T20:41:02.0927299Z Help : More Information
2019-01-28T20:41:02.0927357Z ==============================================================================
2019-01-28T20:41:03.3286009Z ##[error][SQ] Task failed with status FAILED
2019-01-28T20:41:03.3331156Z ##[section]Finishing: Publish Quality Gate Result