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

Help text of quality gate threshold is wrong: values less or equal zero are NOT ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • warnings-ng-plugin
    • None
    • Jenkins 2.319.1
      Warnings Next Generation 9.11.1

    Description

      In the documentation of the Warnings Next Generation plugin, under the publishIssues and recordIssues, the description of thresholds on qualityGates states "The threshold defines the minimum number of warnings that will fail a build. Values less or equal zero are ignored. So if you want to fail a build that has one warning, set this field to 1."

      Setting the threshold values less or equal to zero does NOT cause the quality gate to be ignored. All quality gates fail since even a value of zero succeeds the greater than or equal test.

      For now I have worked around this by setting the thresholds to 10,000 instead of 0. But it would be better if a the quality gates were ignored instead of comparing to a 10,000 threshold.

      Attachments

        Issue Links

          Activity

            mikedeco Michael DeCourcey created issue -
            sravya_2402 Chandrika Sravya made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            drulli Ulli Hafner made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            drulli Ulli Hafner made changes -
            Summary Quality gate thresholds with values less or equal zero are NOT ignored Help text of quality gate thresholds wrong: values less or equal zero are NOT ignored
            drulli Ulli Hafner made changes -
            Summary Help text of quality gate thresholds wrong: values less or equal zero are NOT ignored Help text of quality gate threshold is wrong: values less or equal zero are NOT ignored
            drulli Ulli Hafner made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            drulli Ulli Hafner made changes -
            Assignee Ulli Hafner [ drulli ] Michael DeCourcey [ mikedeco ]
            drulli Ulli Hafner made changes -
            Remote Link This issue links to "PR #1367 (Web Link)" [ 28249 ]
            drulli Ulli Hafner made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            drulli Ulli Hafner made changes -
            Released As https://github.com/jenkinsci/warnings-ng-plugin/releases/tag/v9.20.1
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              mikedeco Michael DeCourcey
              mikedeco Michael DeCourcey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: