Skip to content

Commit 7643073

Browse files
output vars fix
1 parent 981ab92 commit 7643073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ func (p Plugin) Exec() error {
556556
fmt.Printf("\n==> Harness CIE SonarQube Plugin with Quality Gateway <==\n\n")
557557
// "Docker", p.Config.ArtifactFile, (p.Config.Host + sonarDashStatic + p.Config.Name), "Sonar", "Harness Sonar Plugin", []string{"Diego", "latest"})
558558

559+
displayQualityGateStatus(status, p.Config.QualityEnabled == "true")
560+
559561
if status != p.Config.Quality && p.Config.QualityEnabled == "true" {
560562
// fmt.Printf("\n==> QUALITY ENABLED ENALED - set quality_gate_enabled as false to disable qg\n")
561563
logrus.WithFields(logrus.Fields{
@@ -577,8 +579,6 @@ func (p Plugin) Exec() error {
577579
}).Info("Quality Gate Status Success")
578580
}
579581

580-
displayQualityGateStatus(status, p.Config.QualityEnabled == "true")
581-
582582
return nil
583583
}
584584

0 commit comments

Comments
 (0)