Currently there is no simple way, hoiwever I think you can achieve what you want with the following:
1) use a URLtrigger (XTrigger plugin) on latestRelease permalink and inspect the content to cause job B to run. 2) use a RunParameter on job B to get the parameters from the release build (I have not tried this). From https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build * To use a Run Parameter, the value should be in the format jobname#buildNumber (eg. "&MyRunParam=foo-job%2399" for foo-job #99) /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maven User Sent: 06 August 2013 22:26 To: jenkinsci-users@googlegroups.com Subject: trigger a build ONLY when there has been a M2_RELEASEBUILD I think I may be over engineering this one a bit (headed to post-build groovy scripting hell), but I was wondering - is there an easy way to trigger another build (with two parameters from the release plugin) when a maven release has been triggered? For instance, when you run the maven release plugin on job "A", I want to call job "B" only if "A" was both successful AND if it if "IS_M2RELEASEBUILD" is true. I looked at all sorts of things but wondering if there's something off the shelf I can use before going back to groovy... 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 jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.