Hello,

I have 2 jobs A and B. When B runs, it uses the (Jenkins Parameterized 
Trigger plugin 
<http://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin>) 
to trigger A to run and blocks until A finishes.

The problem is that I have 3 agents with 1 executors each and the result is 
that A and B usually run on different agents.

I would like to somehow achieve the following:

1) If I trigger B it should be able to pick any available agent and run 
there.
2) When B triggers A and waits for it, I would like A to run on the SAME 
agent as B.

I noticed that if I restrict A and B to a specific agent, the system 
"deadlocks" as A waiting for that agent which is occupied by B.

I guess what I am after is a way to chain jobs A and B into a sequence that 
runs on the same agent as a production line. B does not have to be active 
when A runs, only after A has finished.

Thanks

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1f48b703-5bd7-42a7-9d54-4c67cb8ce7b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to