Quantcast

scaling jenkins to multiple projects without copying the projects

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

scaling jenkins to multiple projects without copying the projects

Martin d'Anjou
What is the plan to scale up Jenkins to handle a very large number of projects?

Right now, I have 3 projects in Jenkins. They all have the same build flow, so any improvement or plugin I add to one of them, I manually copy it to the other two. As we are about to bring more projects to Jenkins, this manual copy and paste will quickly become a burden. Reverting a change that was copied by hand to multiple project is also a concern of similar nature.

Has there been any thoughts given to how Jenkins can handle these cases?

For example, could multiple projects inherit from a common template project, such that a change to a template would be reflected into multiple projects? I see a Template Project plugin, but there has been no activity for a year on it.

I have no need to link projects together, so I have stayed away from the Workflow plugins. Should I look into them?

Thanks,
Martin
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: scaling jenkins to multiple projects without copying the projects

Les Mikesell
On Fri, Aug 24, 2012 at 10:57 AM, Martin d'Anjou
<[hidden email]> wrote:

> What is the plan to scale up Jenkins to handle a very large number of
> projects?
>
> Right now, I have 3 projects in Jenkins. They all have the same build flow,
> so any improvement or plugin I add to one of them, I manually copy it to the
> other two. As we are about to bring more projects to Jenkins, this manual
> copy and paste will quickly become a burden. Reverting a change that was
> copied by hand to multiple project is also a concern of similar nature.
>
> Has there been any thoughts given to how Jenkins can handle these cases?
>
> For example, could multiple projects inherit from a common template project,
> such that a change to a template would be reflected into multiple projects?
> I see a Template Project plugin, but there has been no activity for a year
> on it.
>
> I have no need to link projects together, so I have stayed away from the
> Workflow plugins. Should I look into them?

Normally the bulk of the work is done by build scripts/Make/project
files that are included in the source checkout and once you have one
or a few jenkins jobs working the way you want, you just tell jenkins
to copy a similar one when creating a new job, then change the
url/path to the different source in your VCS.   There's not a big need
for templates, although it can be cumbersome if you want to change
something in a lot of jobs after they have already been created.

--
   Les Mikesell
     [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: scaling jenkins to multiple projects without copying the projects

krishna chaitanya kurnala
You can try using Jenkins CLI for updating Jobs in Bulk or even even scripting interface (your jenkins URL/script

Recommend the following Links:

Thanks,

Thanks,
Krishna Chaitanya


On Fri, Aug 24, 2012 at 11:29 AM, Les Mikesell <[hidden email]> wrote:
On Fri, Aug 24, 2012 at 10:57 AM, Martin d'Anjou
<[hidden email]> wrote:
> What is the plan to scale up Jenkins to handle a very large number of
> projects?
>
> Right now, I have 3 projects in Jenkins. They all have the same build flow,
> so any improvement or plugin I add to one of them, I manually copy it to the
> other two. As we are about to bring more projects to Jenkins, this manual
> copy and paste will quickly become a burden. Reverting a change that was
> copied by hand to multiple project is also a concern of similar nature.
>
> Has there been any thoughts given to how Jenkins can handle these cases?
>
> For example, could multiple projects inherit from a common template project,
> such that a change to a template would be reflected into multiple projects?
> I see a Template Project plugin, but there has been no activity for a year
> on it.
>
> I have no need to link projects together, so I have stayed away from the
> Workflow plugins. Should I look into them?

Normally the bulk of the work is done by build scripts/Make/project
files that are included in the source checkout and once you have one
or a few jenkins jobs working the way you want, you just tell jenkins
to copy a similar one when creating a new job, then change the
url/path to the different source in your VCS.   There's not a big need
for templates, although it can be cumbersome if you want to change
something in a lot of jobs after they have already been created.

--
   Les Mikesell
     [hidden email]

Loading...