Better use the throttle concurrent build plugin IMO. Works fine for us:

Define a central token. Then configure both job to "acquire" it when
starting. Done. Both jobs won't run at the same time.

Cheers
Le 19 mai 2015 3:58 PM, "tps800" <t...@vr-web.de> a écrit :

> Hi!
>
> I'm having two jobs each one depends on the other and shall never build
> while the other one builds. Both are independend of each other except they
> are using the result of each:
>
> - cmake blocks building of llvm
> - llvm blocks building of cmake
>
> I've entered cmake as blocker in llvm, and llvm as blocker in cmake.
> Worked fine, until I managed to set jenkins up to compile
> FreeBSD_{8,9,10,current} -- really long lasting jobs taking from 3 to 7
> hours to finish. Now I ended up with cmake *and* llvm in the job queue. No
> problem so far I thought, but: both do not run, because cmake is annotated
> as being blocked by llvm and llvm is being blocked by cmake.
>
> Is this a bug with "Build Blocker Plugin" (
> https://wiki.jenkins-ci.org/display/JENKINS/Build+Blocker+Plugin) or is
> this intentional. I interpreted "[...] blocking jobs by their names in
> the list of currently running builds [...]" as only considering running
> builds, not builds which are in the queue to be run. In this case this
> would be a bug within this plugin.
>
> --
> Thomas
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/36f5d31e-2800-42f7-ae71-97ccd274331d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/36f5d31e-2800-42f7-ae71-97ccd274331d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5_7K7-gyfmZC84ufKmtBfjV5312w9RyFJrw-2114Gg1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to