How to disable concurrent builds in a multibranch pipeline?

3,063 views
Skip to first unread message

Dallas Clement

unread,
Aug 31, 2017, 10:58:48 AM8/31/17
to Jenkins Users
I know how to disable concurrent builds for a particular branch.   That works fine.  But how I can I disable multiple branches from building at the same time?

Michael Pailloncy

unread,
Sep 1, 2017, 1:29:15 PM9/1/17
to jenkins...@googlegroups.com
You might be interested by this thread :-)

2017-08-31 16:58 GMT+02:00 Dallas Clement <dallas.a...@gmail.com>:
I know how to disable concurrent builds for a particular branch.   That works fine.  But how I can I disable multiple branches from building at the same time?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1fa8921b-4539-4f69-b0c2-b063cda60d18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dallas Clement

unread,
Sep 1, 2017, 2:18:34 PM9/1/17
to Jenkins Users
Thanks for the tip Michael.  This looks like it would work.  But not very elegant.  Would be better if you could simply disable concurrent builds for an entire multibranch pipeline.  Maybe a Jira improvement request?


On Friday, September 1, 2017 at 12:29:15 PM UTC-5, mpapo - Michael Pailloncy wrote:
You might be interested by this thread :-)
2017-08-31 16:58 GMT+02:00 Dallas Clement <dallas.a...@gmail.com>:
I know how to disable concurrent builds for a particular branch.   That works fine.  But how I can I disable multiple branches from building at the same time?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.

Dallas Clement

unread,
Sep 1, 2017, 3:07:19 PM9/1/17
to Jenkins Users
I created an improvement issue for this in Jira => https://issues.jenkins-ci.org/browse/JENKINS-46593

Michael Pailloncy

unread,
Sep 1, 2017, 3:07:40 PM9/1/17
to jenkins...@googlegroups.com
Yes, probably. Seems there are already some discussions about that here : https://issues.jenkins-ci.org/browse/JENKINS-35359

To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/48e545f9-dcaf-4ed6-b6a5-dff6b7b752ba%40googlegroups.com.

Dallas Clement

unread,
Sep 1, 2017, 6:17:09 PM9/1/17
to Jenkins Users
Yes, this gent is complaining of the same problem.  I think it really needs to be addressed.  It's an obvious oversight in the multibranch pipeline.  Limiting the # of executors is the way to go.


On Friday, September 1, 2017 at 2:07:40 PM UTC-5, mpapo - Michael Pailloncy wrote:
Yes, probably. Seems there are already some discussions about that here : https://issues.jenkins-ci.org/browse/JENKINS-35359
2017-09-01 20:18 GMT+02:00 Dallas Clement <dallas.a...@gmail.com>:
Thanks for the tip Michael.  This looks like it would work.  But not very elegant.  Would be better if you could simply disable concurrent builds for an entire multibranch pipeline.  Maybe a Jira improvement request?

On Friday, September 1, 2017 at 12:29:15 PM UTC-5, mpapo - Michael Pailloncy wrote:
You might be interested by this thread :-)

2017-08-31 16:58 GMT+02:00 Dallas Clement <dallas.a...@gmail.com>:
I know how to disable concurrent builds for a particular branch.   That works fine.  But how I can I disable multiple branches from building at the same time?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1fa8921b-4539-4f69-b0c2-b063cda60d18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages