[JIRA] (JENKINS-58373) Restore "all" gates to version 5

13 views
Skip to first unread message

james@howeswho.co.uk (JIRA)

unread,
Jul 8, 2019, 8:10:02 AM7/8/19
to jenkinsc...@googlegroups.com
James Howe created an issue
 
Jenkins / Improvement JENKINS-58373
Restore "all" gates to version 5
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: dependency-check-jenkins-plugin
Created: 2019-07-08 12:09
Priority: Major Major
Reporter: James Howe

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

james@howeswho.co.uk (JIRA)

unread,
Jul 8, 2019, 10:17:09 AM7/8/19
to jenkinsc...@googlegroups.com
James Howe commented on Improvement JENKINS-58373
 
Re: Restore "all" gates to version 5

See also the structure warnings-ng uses for recordIssues:

qualityGates: [
        [threshold: 1, type: 'TOTAL', unstable: true],
        [threshold: 5, type: 'TOTAL_ERROR']
]

steve.springett@owasp.org (JIRA)

unread,
Jul 10, 2019, 11:34:02 PM7/10/19
to jenkinsc...@googlegroups.com

Pull requests are accepted

steve.springett@owasp.org (JIRA)

unread,
Jul 12, 2019, 12:44:02 AM7/12/19
to jenkinsc...@googlegroups.com

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?

james@howeswho.co.uk (JIRA)

unread,
Jul 12, 2019, 3:31:03 AM7/12/19
to jenkinsc...@googlegroups.com

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.

steve.springett@owasp.org (JIRA)

unread,
Jul 17, 2019, 6:20:02 PM7/17/19
to jenkinsc...@googlegroups.com
Steve Springett assigned an issue to Steve Springett
 
Change By: Steve Springett
Assignee: Steve Springett
Reply all
Reply to author
Forward
0 new messages