[JIRA] (JENKINS-60502) when conditions at pipeline and/or stages level

3 views
Skip to first unread message

mauricio_ville@yahoo.com (JIRA)

unread,
Dec 16, 2019, 9:02:02 AM12/16/19
to jenkinsc...@googlegroups.com
Mauricio Villegas created an issue
 
Jenkins / New Feature JENKINS-60502
when conditions at pipeline and/or stages level
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: core
Created: 2019-12-16 14:01
Priority: Minor Minor
Reporter: Mauricio Villegas

It would be a nice feature to allow to have `when` conditions at a pipeline or at stages level. This way it would be possible in the jenkins file (version controlled along with the code) which pipelines are built and which are skipped.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mauricio_ville@yahoo.com (JIRA)

unread,
Dec 16, 2019, 9:07:02 AM12/16/19
to jenkinsc...@googlegroups.com
Mauricio Villegas updated an issue
Change By: Mauricio Villegas
It would be a nice feature to allow to have `when` conditions at a pipeline or at stages level. This way it would be possible in the jenkins file (version controlled along with the code) which pipelines are built and which are skipped.


I know it is possible to have nested stages, but doing this just makes the script less readable and looks to be just a hack to get the when block in that location.
Reply all
Reply to author
Forward
0 new messages