One technique is to create a single Jenkins Pipeline job that performs all 10 of those steps, then use the declarative Pipeline ability to conditionally skip a step based on conditions you decide.
However, I've never tried to manage that complex a Pipeline job, so I can't comment more than to suggest you might experiment with that technique. On Tue, Jul 2, 2019 at 7:48 AM Vijay Gongle <[email protected]> wrote: > I have a Jenkins pipeline which has 10 Jobs configured to run one after > the other in the post build action. > Anytime there's a change in Job's related git code, the build is triggered > and all the following jobs run though rest of the Job code were not > committed. > > For e.g, in a series of 10 jobs in the pipeline, if there's a code change > in 2nd job but not in 3rd job then I would like to skip the 2nd job and > build the 3rd job directly. > Likewise, any job where the code is not changed, would like to skip and > jump to following job. > > Please help me if there;s a way to resolve this unwanted builds in the > pipeline. > > -- > 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/345f6008-fdd7-4ff8-bb84-4018c99dd956%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/345f6008-fdd7-4ff8-bb84-4018c99dd956%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- 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/CAO49JtHcL8LwBDhhT9v9Sg077f%2Bq9%2BSevKzuQb8vZM%3DMcYnVWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
