Quality Gate keep failing after exclud few js directories and add New Codes: Previous Version

Hi there,

Reference to topic https://community.sonarsource.com/t/re-sonarcloud-analysis-failed/42875?u=waleedmazhar

I am getting quality gates error every times it runs. Problem starts after I exclude some javascript directories and add New codes: Previous Version.

Digest: sha256:fefdf81312845d1773ec5dbb285f1628025f1496bda7a92e1d9f5f9994999a96
Status: Downloaded newer image for sonarsource/sonarcloud-quality-gate:0.1.4
✖ Quality Gate failed
- Coverage on New Code: 0.0 (is less than 80)
Status: Downloaded newer image for sonarsource/sonarcloud-quality-gate:0.1.4
........✖ Quality Gate failed: Could not fetch quality gate status: b'{"errors":[{"msg":"Analysis with id \'None\' is not found"}]}'

Hey @waleedmazhar,

The link you provided is no longer working. Can you provide the working one?

Best,
Marcin

Hi @Marcin_Majewski

That link is expired. Please ignore that link, I have already copied error messages.

Thanks

Hi @waleedmazhar,

Do you use sonarcloud-scan before executing sonarcloud-quality-gate in the pipeline?

Best,
Marcin

Hi @Marcin_Majewski

Yes, I first do scan and then quality-gate in bitbucket pipeline.

thanks

Hi @waleedmazhar,

Is it possible for you to share the full log in private message? I opened thread for that.

Best,
Marcin