We use Jenkins Job Builder from the OpenStack project for configuring Jenkins jobs. It's generally a lot more readable than the XML and it offers templating features:
http://ci.openstack.org/jjb.html On Wednesday, October 22, 2014 10:54:11 AM UTC-4, Atom Powers wrote: > > I would actually recommend creating 31 Jenkins jobs. > One for each module, which implements the test suite for that module, > and another "acceptance test" job that runs the test suite for your > collected puppet code. Probably using Beaker. > > You can create jenkins jobs from it's CLI and/or API interface, and > there are plugins to import jobs from templates and such. I haven't > personally done this but I know others who have. > > > On Wed, Oct 22, 2014 at 6:18 AM, Sandro Roth <[email protected] > <javascript:>> wrote: > > Hi > > > > We manage our puppet code with an internal git repo. Each module has > it's > > own git repo and a few git hooks check for syntax and linting. > > Our puppet master checks for changes in a specific branch and clones > them. > > > > It involves a few manual steps and we'd like to get rid of them with > some CI > > intelligence in the middle. > > I have been looking and playing with Jenkins the last few days but now I > > seem to be stuck. > > > > It works great when I create a Jenkins job which tracks changes in a git > > repo, runs the tests and if succeeded pushes the puppet module to the > > master. > > But we have about 30 modules and creating a job for each module seems > > inefficient? > > > > Maybe there is a way doing this dynamically that someone could point me > to? > > Or perhaps jenkins is not the right solution here for us? > > > > > > Thanks for opening my eyes :) > > > > Regards > > Sandro > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Puppet 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/puppet-users/af00fb14-a8e5-4c54-9ceb-549302acfcc7%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Perfection is just a word I use occasionally with mustard. > --Atom Powers-- > -- You received this message because you are subscribed to the Google Groups "Puppet 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/puppet-users/4b584b93-0715-462f-b344-bad49a380f3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
