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

Restore "all" gates to version 5

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The version 5 rewrite removed the unstableTotalAll and related options from dependencyCheckPublisher. This was a very convenient shortcut for unstableTotalCritical: x, unstableTotalHigh: x, unstableTotalMedium: x, unstableTotalLow: x. Can it be returned?

        Attachments

          Issue Links

            Activity

            Hide
            jameshowe James Howe added a comment -

            See also the structure warnings-ng uses for recordIssues:

            qualityGates: [
                    [threshold: 1, type: 'TOTAL', unstable: true],
                    [threshold: 5, type: 'TOTAL_ERROR']
            ]
            
            Show
            jameshowe James Howe added a comment - See also the structure warnings-ng uses for recordIssues : qualityGates: [ [threshold: 1, type: 'TOTAL' , unstable: true ], [threshold: 5, type: 'TOTAL_ERROR' ] ]
            Hide
            sspringett Steve Springett added a comment -

            Pull requests are accepted

            Show
            sspringett Steve Springett added a comment - Pull requests are accepted
            Hide
            sspringett Steve Springett added a comment -

            What did unstableTotalAll do exactly?

             

            If I specify unstableTotalAll, would the expected behavior be to put the build into a warning state if the number specified matched or exceeded any criticality?

            Show
            sspringett Steve Springett added a comment - What did unstableTotalAll do exactly?   If I specify unstableTotalAll, would the expected behavior be to put the build into a warning state if the number specified matched or exceeded any criticality?
            Hide
            jameshowe James Howe added a comment -

            If the total of all issues >= threshold then make the build unstable. It was the same as putting the same number for each separate severity.

            Show
            jameshowe James Howe added a comment - If the total of all issues >= threshold then make the build unstable. It was the same as putting the same number for each separate severity.

              People

              Assignee:
              sspringett Steve Springett
              Reporter:
              jameshowe James Howe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: