Something this complex sounds like a job for the workflow plugin and job type
On Saturday, January 24, 2015, Don deJuan <[email protected]> wrote: > Looking for some advice in setting up a project. The main issue I see is > the project I need to build has thousands of directories in which any > one of them could be built. I have no control to put everything into > individual repos, nor do I really feel like maintaining that many single > ones. So how we are telling which should be built are with flags in the > git log. I can setup a freestyle project and with the exec shell I can > get it to cd into the proper dir and run the build. So I have grasped > that much so far, I think. The main issue I am running into now is I am > not sure if freestyle is really the best choice for my scenario. Each > build has to be built in up to 7 different environments, inside the > specified directory. I have the slaves all setup for those and I am able > to connect to each with the freestyle project. But is there a way from > the exec shell to actually trigger a build on a slave from the main exec > shell depending on what the bash test gets from the git log? Such as the > test says it needs to build only on env 1 3 6 and it triggers a slave to > build and to cd into proper dir and run the build commands. If this is > possible do these launched slaves stay with the same build number or > would it be a new one? Or am I better of setting up something like a > matrix project where each of these envs are triggered at once, then they > each test if they should actually build or not. Any advice or > recommendations is appreciated. Thanks for your time. If I am missing > anything in my explanation that could help let me know and I will reply > with the needed info. > > -- > 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/54C3FF9B.7000203%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- 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/CA%2BnPnMxzhkGN3jopx%3DSJnKOZ5GGvdOB6YJD9Xt4S5%2B-vzFWdtg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
