Here, three different jobs triggers the JOB X. Requirement is, on completion of JOB X, it should trigger back the job who triggered it.
For example, if JOB X is triggered by JOB B, it should trigger back only the JOB B.
Things I have tried:
I have used "build another job" option from Post build action, where I can mention the list of jobs needs to be triggered.
It is not satisfying my requirement as it is triggering all the JOBS listed in the box.
Kindly help !!
I’m assuming you’re meaning freestyle jobs? Usually you’d have a parameter in Job X with the upstream job name that you can then use in the Parameterized Build Trigger to pass the parameter to Job X. What will be in place however to stop this ending up in a build loop? Otherwise Job B is going to trigger Job X which will trigger Job B which will trigger Job X.......
From: [hidden email]Sent: 18 March 2019 10:20To: [hidden email]Subject: How to Trigger back the Jenkins job from the job who triggered it?
-- 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 [hidden email].To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f9ad64f3-1ae9-40bd-9148-3721421884e7%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.