javamachr / 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
125 stars 24 forks source link

Throw exception on quality gate fail/error status at plugin level instead of sonar scanner #24

Closed softreigns closed 2 years ago

softreigns commented 2 years ago
  1. Since the plugin requires the sonar param sonar.qualitygate.wait=false to run in a fail case, where if it true the scan waits and fails before the plugin can run. ref: Failing a pipeline job when the Quality Gate fails

    Hence adding a parameter at plugin level to be able to run the plugin and still be able to fail the scan job.

  2. Update gitlab-ci with the latest.