If you're using a freestyle job or a multi-configuration job, then you could use the "Additional Behaviours" in the plugin to ignore commits from paths with the "Polling ignores commits from certain paths".
If you're using a multi-branch pipeline or using GitHub Organization Folders, you'd need to place the "skip this build" logic inside the pipeline script itself. That's more complicated, and may motivate you to consider separating your projects into a repository per project, rather than multiple projects in a single repository. Mark Waite On Wed, Jun 7, 2017 at 9:58 AM Gopi Polisetti <[email protected]> wrote: > Hi, > > Am using Git repository, Git Repository A it has multiple solutions b, c > , d , e ... , > Each solution has one jenkins job, > Jenkin Job B > Jenkin Job C > Jenkin Job D > ------ > > If I change any code (B,C,D) under Repository A - All jenkin - B,C,D job > triggers build. > > If I change any code related to B then Jenkins B only has to trigger > If I Change any code related to C then Jenkins C only has to trigger not > all jobs > > Any solution for this > > -- > 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/ed78c51d-3d83-4822-974d-37358ee59deb%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ed78c51d-3d83-4822-974d-37358ee59deb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAO49JtFTmpsHCVpvytC_GzJosi2gPLeC33Z2JXPKoCL-d12-tg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
