Binding a workflow to a free build processor until the last build in the flow finishes

16 views
Skip to first unread message

tps800

unread,
Jun 1, 2015, 9:55:03 AM6/1/15
to jenkins...@googlegroups.com
jenkins 1.616, Build-Flow-Plugin

Hi!

I've defined a build flow:

guard {
  build( "VMstart", BHOST:"test-sct-bsf8" )
  build( "freebsd_8.01checkout",    BHOST:"test-sct-bsf8", BPORT:"22" )
  build( "freebsd_8.03setup",       BHOST:"test-sct-bsf8", BPORT:"22" )
  build( "freebsd_8.04buildworld",  BHOST:"test-sct-bsf8", BPORT:"22" )
  build( "freebsd_8.05buildkernel", BHOST:"test-sct-bsf8", BPORT:"22" )
  build( "freebsd_8.06instkernel",  BHOST:"test-sct-bsf8", BPORT:"22" )
  build( "freebsd_8.07instworld",   BHOST:"test-sct-bsf8", BPORT:"22" )
} rescue {
  build( "VMStop", BHOST:"test-sct-bsf8" )
}

at now the build may break for some time, as soon, as some other builds take all build processors and this build flow has to wait until a build processor if free. That is not desireable. I'd like to bind at least one build processor to this build flow, until it has finished. How can I do it?

Thanks in advance!
Thomas
Reply all
Reply to author
Forward
0 new messages