[JIRA] (JENKINS-52158) Conditional parallel failfast

5 views
Skip to first unread message

stevengfoster@gmail.com (JIRA)

unread,
Jun 25, 2018, 1:42:02 PM6/25/18
to jenkinsc...@googlegroups.com
Steven Foster created an issue
 
Jenkins / New Feature JENKINS-52158
Conditional parallel failfast
Issue Type: New Feature New Feature
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-06-25 17:41
Priority: Minor Minor
Reporter: Steven Foster

I have a fairly heavy collection of pipelines where it might be handy to conditionally apply the failFast flag in a parallel stage. I'm starting to develop a two-phase design for pull request builds, where a lighter build is performed at the early stage of development and the full build runs once things are more complete. I'm achieving this using PR labels, and I'm selecting a small subset of just the most important parallel branches for the light build. This is in order to reduce usage of a limited pool of build agents.

 

Allowing an expression in the failFast flag, similar (or maybe identical?) to the `when`  directive on stages, would enhance this idea. That way, a full build would run each parallel branch to completion but a light build would get out of the way quickly while there is a lot of developmental churn. I tried using a boolean expression in the failFast flag but it seems to only accept a hard true or false.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

andrew.bayer@gmail.com (JIRA)

unread,
Aug 7, 2018, 9:26:03 AM8/7/18
to jenkinsc...@googlegroups.com
Andrew Bayer commented on New Feature JENKINS-52158
 
Re: Conditional parallel failfast

Interesting. I'll think on it.

brian.murrell@intel.com (JIRA)

unread,
Mar 5, 2019, 8:17:03 AM3/5/19
to jenkinsc...@googlegroups.com
Brian J Murrell commented on New Feature JENKINS-52158
 
Re: Conditional parallel failfast

Did anything come of this idea?  It's something we'd like to see also.

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

fabian.holler@simplesurance.de (JIRA)

unread,
Jul 9, 2019, 5:59:02 AM7/9/19
to jenkinsc...@googlegroups.com
Fabian Holler commented on New Feature JENKINS-52158
 
Re: Conditional parallel failfast

We also need this.
Passing `failFast` as a boolean parameter to parallel() would also be an option.

fabian.holler@simplesurance.de (JIRA)

unread,
Jul 9, 2019, 6:01:26 AM7/9/19
to jenkinsc...@googlegroups.com
Fabian Holler edited a comment on New Feature JENKINS-52158
 
Re: Conditional parallel failfast
We also need this.
Passing Allowing to pass `failFast` as a boolean parameter to parallel() would also be an option.
Reply all
Reply to author
Forward
0 new messages