[JIRA] (JENKINS-42039) Add a Declarative option for "treat unstable as failure"

3 views
Skip to first unread message

andrew.bayer@gmail.com (JIRA)

unread,
Feb 14, 2017, 5:26:01 PM2/14/17
to jenkinsc...@googlegroups.com
Andrew Bayer created an issue
 
Jenkins / New Feature JENKINS-42039
Add a Declarative option for "treat unstable as failure"
Issue Type: New Feature New Feature
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2017/Feb/14 10:25 PM
Priority: Minor Minor
Reporter: Andrew Bayer

This is related to JENKINS-41943 - I think it'd make sense to have an option that says "If a stage makes the build unstable, skip any subsequent stages the same as we would if they failed". This'll probably end up needing some Blue Ocean visualization work to have a different way of visualizing "skipped due to unstable" rather than "skipped due to failure", but that can wait.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Feb 14, 2017, 5:27:02 PM2/14/17
to jenkinsc...@googlegroups.com
Andrew Bayer started work on New Feature JENKINS-42039
 
Change By: Andrew Bayer
Status: Open In Progress

andrew.bayer@gmail.com (JIRA)

unread,
Feb 14, 2017, 5:59:01 PM2/14/17
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Feb 14, 2017, 5:59:01 PM2/14/17
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Feb 21, 2017, 12:27:01 PM2/21/17
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Feb 21, 2017, 12:27:02 PM2/21/17
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on New Feature JENKINS-42039
 
Re: Add a Declarative option for "treat unstable as failure"

Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/options/impl/SkipStagesAfterUnstable.java
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java
pipeline-model-definition/src/test/resources/skipAfterUnstable.groovy
pipeline-stage-tags-metadata/src/main/java/org/jenkinsci/plugins/pipeline/StageStatus.java
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/f88b0e85b1f2eeb063ff8dba777e1d2d31307f00
Log:
[FIXED JENKINS-42039] Add option for skipping stages after unstable

r.fuereder@xortex.com (JIRA)

unread,
Feb 22, 2017, 4:29:01 AM2/22/17
to jenkinsc...@googlegroups.com

Would you mind documenting this awesome new feature also at https://jenkins.io/doc/book/pipeline/syntax/#declarative-directives, or is there another (better) place for that?

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:17 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages