I don't have such a sample, need to duplicate some way the exclusion filter used by SCM plugin build flow don't us SCM triggers, so can't benefit advanced feature they provide
2013/7/14 Thomas Fields <[email protected]> > Thanks for the reply. > > >> is you have to exclude some jobs based on scm commit, do it BEFORE you > call build("job") > > How would I do that - any ideas? Can you give me an example? > > Cheers > Tom > > Sent from my iPhone > > On 13 Jul 2013, at 21:32, Thomas Fields <[email protected]> wrote: > > Hi there, > > The build flow plugin looks really powerful but it appears to be lacking > the ability to only trigger sub jobs when there are scm changes. I have a > simple build flow setup like so: > > def tomjob = parallel ([ > first: { build("tomflow1") }, > second: { build("tomflow2") } > ]) > > Each of sub jobs, tomflow1 and tomflow2, have a Perforce viewmap which > tells the system which files should trigger a build. If I modify a file in > my repository that is only part of tomflow1's view I'd expect only that job > to build but both jobs build regardless of scm info. Is this kind of setup > possible with this plugin? > > Cheers, > Tom > > -- > 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]. > 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
