I tried ""Additional Behaviours" option this will not work for multiple project changes My project structure is like same repo it has multiple solutions. so I have created multiple Jenkins job but if any code changes in any of the project under same repo then all jenkin jobs got triggered , this should not happened.
On Monday, 12 June 2017 05:25:31 UTC+5:30, Mark Waite wrote: > > 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] > <javascript:>> 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] <javascript:>. >> 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/e554132e-fc23-4ae0-8ec8-df9ccc79d7c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
