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
712 stars 207 forks source link

Cannot set external pipeline job to allow_failure: true #295

Open Mettbrot opened 1 year ago

Mettbrot commented 1 year ago

Hi, I would like to allow the external job that is coming back from sonar with the results to have allow_failure: true (yellow exclamation mark in Gitlab)

I have tried the option -Dsonar.gitlab.quality_gate_fail_mode=warn and a combination of -Dsonar.qualitygate.wait=true -Dsonar.gitlab.failure_notification_mode=exit-mode but it still fails the pipeline.

Is this possible?