gabrie-allaigre / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
713 stars 208 forks source link

Quality Gate is Ok but still fails due to Code Smells #138

Open mitchellmaler opened 6 years ago

mitchellmaler commented 6 years ago

Hello,

I have setup SonarQube scanner with the quality gate and enabled exit-code fail. The issues I am having is we have the Code Smells plugin on the SonarQube server which does report issues but these are outside the scope of Bugs and Vulnerabilities. The Quality Gate still passes but the gitlab plugin still reports a failure due to the issues from the code smells. Can these code smells be ignored or can the exit-build only exit/fail if the quality gate doesn't return an ok/passed?

dungdm93 commented 6 years ago

Maybe it's your solution: #142