Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61130

"ignoring quality gate result for one build" feature seems not to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None

      Hello,

      I am using the plugin version 7.2.2 and Jenkins (LTS v2.190.3) reports
      "Resetting reference build, ignoring quality gate result for one build"
      after pressing the "Reset quality gate" button of the previous build, but it still prints
      "-> Some quality gates have been missed: overall result is FAILED".

      I have implemented at first my Jenkins pipeline without referenceJobName and then I set it to a fixed branch name "master", but it did not change anything.

      Log example:

      00:03:12.892  [Static Analysis] Attaching ResultAction with ID 'analysis' to run 'XYZ/aaaaaa/master #7'.
      00:03:12.917  [Static Analysis] Resetting reference build, ignoring quality gate result for one build
      00:03:12.917  [Static Analysis] Using reference build 'XYZ/aaaaaa/master #2' to compute new, fixed, and outstanding issues
      00:03:12.917  [Static Analysis] Issues delta (vs. reference build): outstanding: 61, new: 52, fixed: 1
      00:03:12.917  [Static Analysis] Evaluating quality gates
      00:03:12.917  [Static Analysis] -> PASSED - New (errors only): 0 - Quality QualityGate: 1
      00:03:12.917  [Static Analysis] -> PASSED - New (severity high only): 0 - Quality QualityGate: 1
      00:03:12.917  [Static Analysis] -> FAILED - New (severity normal only): 51 - Quality QualityGate: 4
      00:03:12.917  [Static Analysis] -> PASSED - New (severity low only): 1 - Quality QualityGate: 10
      00:03:12.917  [Static Analysis] -> Some quality gates have been missed: overall result is FAILED
      00:03:12.917  [Static Analysis] Enabling health report (Healthy=1, Unhealthy=12, Minimum Severity=LOW)
      00:03:12.965  [Static Analysis] Created analysis result for 113 issues (found 52 new issues, fixed 1 issues)
      

      With build no. 3 I started pressing the "Reset quality gate" button. But it has no effect.

      Any ideas or suggestions?

      Thank you.

            drulli Ulli Hafner
            rf R. Fitzner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: