Quantcast

parametrized trigger plugin issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

parametrized trigger plugin issues

marathiboy
Hello,

I have two projects say A and B. Both are working fine on their own. Both are parameterized maven builds (the same params). I need to add a dependency such that A depends on B to complete first.

So In the configuration of A, I added, a pre-build step of "Trigger call builds on other projects", added project to build as B, Checked 'Block until the triggered projects finish their builds', used all defaults, Add parameters 'current build parameters'.

Now when I trigger A manually, console output states that it triggered B, which is right, However, the build queue of B states, waiting for upstream project to finish A, and both hang :-(

If I terminate A manually, B starts.

Any idea what I am doing wrong?

Thanks

M
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: parametrized trigger plugin issues

cjo9900
On project B check that you do not have the "Block when upstream projects are building" under the "Advanced Project Options" section set, as this will cause this behaviour.

Chris.



On Friday, August 24, 2012 2:08:10 PM UTC+1, marathiboy wrote:
Hello,

I have two projects say A and B. Both are working fine on their own. Both
are parameterized maven builds (the same params). I need to add a dependency
such that A depends on B to complete first.

So In the configuration of A, I added, a pre-build step of "Trigger call
builds on other projects", added project to build as B, Checked 'Block until
the triggered projects finish their builds', used all defaults, Add
parameters 'current build parameters'.

Now when I trigger A manually, console output states that it triggered B,
which is right, However, the build queue of B states, waiting for upstream
project to finish A, and both hang :-(

If I terminate A manually, B starts.

Any idea what I am doing wrong?

Thanks

M



--
View this message in context: http://jenkins.361315.n4.nabble.com/parametrized-trigger-plugin-issues-tp4638535.html
Sent from the Jenkins users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: parametrized trigger plugin issues

marathiboy
yup :-) you are the man!!

I hate it when these options are hidden, even when in use...:-(

regards,

M
Loading...