Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality Gate used but is not working. #17

Open
anupam-chakraborty opened this issue Oct 20, 2020 · 2 comments
Open

Quality Gate used but is not working. #17

anupam-chakraborty opened this issue Oct 20, 2020 · 2 comments

Comments

@anupam-chakraborty
Copy link

Hi,

We found this issue that Quality Gate used but is not working.

We have configured the project to use the Standard Quality Gate, and we do see that the project shows Quality Gate passed even if there are errors / Vulnerabilities in the project. Please see the attached screenshot. We have created custom Quality Gate as well and it still does the same.

Check Result:
SonarQualityGate
Quality Gate Config:
SonarQualityGate2

Does this code not validate the quality gate?
Thanks for helping with this.

@fperezpa
Copy link
Collaborator

Hi,
Of that gate, the only metrics that the plugin generates is the coverage. But I don't see in the metrics of the project.
Are you getting the coverage?

I guess the correct approach is to create a custom gate and configured the project to use it.
Could you check that?

@GiuseppeMP
Copy link

GiuseppeMP commented Jan 11, 2022

@anupam-chakraborty

Your pic looks like a xml analysis, maybe you missing this workaround in the pom.xml properties:

<sonar.lang.patterns.xml>null</sonar.lang.patterns.xml>
<sonar.mule.file.suffixes>.xml</sonar.mule.file.suffixes>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants