On Sunday, April 19, 2015 at 5:05:34 PM UTC-4, Nicolas Labrot wrote:
>
> I have two jobs 'Job 1' and 'Job 2'. 'Job 2' is a downstream job of 'Job 
> 1' (Job 1 builds Job 2 as a post build action). 'Job 2' always fails.
>
> Even if propagate and wait are set to true, my workflow project never 
> waits for 'Job 2' completion
>

Because the post-build action to trigger another job runs asynchronously. 
Job 1 has completed, so the Workflow step completes. If you want Job 1 to 
wait for Job 2, and Job 1 is not itself a workflow, then you need to use 
the Parameterized Trigger plugin which offers a build _step_ that waits for 
a downstream build to complete.

-- 
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/881589dc-9057-402f-9803-12a173cc9c70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to