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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Michael DeCourcey
            Reporter:
            Michael DeCourcey
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: