Azure DevOps "Publish Quality Gate" task fail consistently with 404

Thanks for the details @Greybird.

I searched in the system and I could indeed find an existing task with AWnaa_W1bZ-4oYCt1fPG, but with AWl3SVZ-rqukisAhSnNk - which is strange.

IIRC, the task is searching for a report-analysis.txt file that is generated by the scanner when performing the analysis. Could it be that:

  • either your source code repository contains such a file, and the task takes it instead of the newly generated one?
  • or that there is some caching mechanism on your build definition which grabs files from previous builds, and here again the task does not pick the correct one?

Also, you say:

, does it imply that it works from time to time?