[JIRA] (JENKINS-59063) anchore plugin: Add a new option for setting builds to "UNSTABLE" for "WARN" items

6 views
Skip to first unread message

b.kaszt@gentics.com (JIRA)

unread,
Aug 23, 2019, 5:18:03 AM8/23/19
to jenkinsc...@googlegroups.com
Bernhard Kaszt created an issue
 
Jenkins / Improvement JENKINS-59063
anchore plugin: Add a new option for setting builds to "UNSTABLE" for "WARN" items
Issue Type: Improvement Improvement
Assignee: Daniel Nurmi
Components: anchore-container-scanner-plugin
Created: 2019-08-23 09:17
Environment: Jenkins: 2.179
Anchore container scanner plugin: 1.0.19
Priority: Minor Minor
Reporter: Bernhard Kaszt

With the option "Fail build on policy check STOP result" (bailOnFail), you can fail a build when it contains a "STOP" result".

However right now, there is no way of marking a Jenkins build as "UNSTABLE", when there are warnings only in the docker image scan. For example I would like to give attention to the developers when there are medium leveled CVEs, but those should not fail the build.

Suggestion: Make the build status for "WARN" items configurable.

 

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

swathi@anchore.com (JIRA)

unread,
Sep 13, 2019, 1:45:02 PM9/13/19
to jenkinsc...@googlegroups.com
Swathi Gangisetty assigned an issue to Swathi Gangisetty
Change By: Swathi Gangisetty
Assignee: Daniel Nurmi Swathi Gangisetty
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

swathi@anchore.com (JIRA)

unread,
Sep 13, 2019, 1:45:02 PM9/13/19
to jenkinsc...@googlegroups.com
Swathi Gangisetty commented on Improvement JENKINS-59063
 
Re: anchore plugin: Add a new option for setting builds to "UNSTABLE" for "WARN" items

Hello Bernhard Kaszt, apologies for the late response. I think flagging the build as unstable is a good idea. Especially when anchore engine (policy check op) produces a warn result. I'll add this to our backlog for next release. If you've already made the changes to the plugin to do this, please submit a PR and I'd be happy to merge it in. Thanks!

Reply all
Reply to author
Forward
0 new messages