We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1ddd5 commit 0c372ddCopy full SHA for 0c372dd
plugin.go
@@ -595,11 +595,12 @@ func (p Plugin) Exec() error {
595
displayQualityGateStatus(status, p.Config.QualityEnabled == "true")
596
597
if status != p.Config.Quality && p.Config.QualityEnabled == "true" {
598
+ os.Exit(5)
599
fmt.Fprintln(os.Stderr, "ERROR: QualityGate status failed.")
600
logrus.WithFields(logrus.Fields{
601
"status": status,
602
}).Fatal("QualityGate status failed")
- os.Exit(5)
603
+
604
}
605
if status != p.Config.Quality && p.Config.QualityEnabled == "false" {
606
0 commit comments