[workflow plugin] how to block multiple execution?

78 views
Skip to first unread message

Stefan Lorenz

unread,
Feb 11, 2015, 10:31:44 AM2/11/15
to jenkins...@googlegroups.com
Hi,

how can one prevent a workflow job from getting started if it's already running?
I tried the "build blocker plugin" but it seems that it has no effect to the workflow. Is that possible?

Regards,
Stefan

Stefan Lorenz

unread,
Feb 12, 2015, 1:07:35 PM2/12/15
to jenkins...@googlegroups.com
"Throttle Concurrent Builds"  plugin seems also not be available for a workflow. Is this intended?

Ryan Campbell

unread,
Feb 12, 2015, 11:58:22 PM2/12/15
to jenkins...@googlegroups.com

A workflow stage can limit concurrency:

stage name: perf, concurrency: 1


--
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/d6fb9249-bdbb-4824-8595-8edbd55a3e26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stefan Lorenz

unread,
Feb 13, 2015, 6:06:37 AM2/13/15
to jenkins...@googlegroups.com
Thx, I'll try that.

Will this send the job to a queue if it's already running?

Jesse Glick

unread,
Feb 26, 2015, 9:53:00 AM2/26/15
to jenkins...@googlegroups.com
On Friday, February 13, 2015 at 6:06:37 AM UTC-5, Stefan Lorenz wrote:
Will this send the job to a queue if it's already running?

No, it will let a new build start, but then pause. Discussion:

Stefan Lorenz

unread,
Mar 3, 2015, 5:17:31 AM3/3/15
to jenkins...@googlegroups.com
Thx for the explanation & the link...
Reply all
Reply to author
Forward
0 new messages