That's what I've started doing. I have a template project that I copy and use for a verification project and an integration project. The Template Project Plugin <https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin> allows me to set my SCM, builders and publishers in the template project and copy it to both the verification and the integration projects.
There were a couple other template plugins I looked at, but the Template Project Plugin <https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin> has been the best one for my needs. Ideally, I would have the plugin sync all settings of a template project unless I explicitly override it. I believe ez-templates <https://github.com/JoelJ/ez-templates> does the "sync all settings" part, but I believe if I make any change to the template, it automatically overwrites any modifications (SCM, builders, publishers, etc.) I've made to projects using the template. -Adam On Thu, Aug 14, 2014 at 1:54 PM, Eric Pyle <[email protected]> wrote: > I haven't worked with Gerritt, but what if you used the Template Project > Plugin > <https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin>? > You could put most of the configuration in the template job, eliminating > the drawback of maintaining two parallel configs. > > Eric > > > On 8/14/2014 1:42 PM, Adam Westhusing wrote: > > Has anyone done this before? > > Thanks, > Adam Westhusing > > > On Tue, Jul 29, 2014 at 3:38 PM, Adam Westhusing <[email protected]> > wrote: > >> Hi, >> >> I am in the midst of trying to update our Jenkins instance to utilize >> Gerrit verification builds. However, I'm kind of curious what others have >> done in this area. >> >> The few projects I've setup have the verification builds mixed in with >> normal integration builds via the Gerrit Trigger. >> >> - Pro => Having just one project that utilizes both verification and >> integration builds, so I don't have to worry about maintaining multiple >> configurations for a verification project and an integration project. >> - Con => Statistics (weather, test results, etc.) are tainted by >> having both of these builds contained in one Jenkins project. >> >> How do others approach this? >> >> Thanks, >> Adam Westhusing >> > > -- > 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/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]. > 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]. For more options, visit https://groups.google.com/d/optout.
