Issue in "Publish Sonar Qube Quality Gate Result" Azure task

​Hi Team,

We am facing issue in “Publish Sonar Qube Quality Gate Result” Azure task, when i tried with v4.6.3, things are working. However now we are getting below error and its seems adjusted pattern has been changed from $(build.sourcesdirectory) to “/opt/build-agent1/_work/_temp” location. Please let us know when the above issue will resolve.

##[debug]adjustedPattern: '/opt/build-agent1/_work/_temp/sonar/1.0.0.788-SNAPSHOT//report-task.txt’ ##[debug]0 matches ##[debug]0 final results ##[debug][SQ] Searching for sonar/1.0.0.788-SNAPSHOT//report-task.txt - found 0 file(s) ##[debug]Number of analyses in this build: 0

Thanks,

Saurabh Dubey

Hi,

Versions 4.8.0 of the extension has been release which should fix this issue.

Mickaël

1 Like

Thanks Mickael for the update.

Any update on version 4.8.0 release date?

Thanks,
Saurabh Dubey

Hi,

This is already available in the Marketplace.

Mickaël

1 Like

Thanks a lot. Now I got the latest version.

1 more questions on quality Gate if I want to set the quality Gate metrics/condition as bug should be C rating and vulnerability should be A, then how to set the quality Gate conditions in sonar

Thanks,
Saurabh Dubey