I also use git commands directly. If you make it so your build is identical for all of your repositories you could have a single parameterized job which has parameters for the repo and branch (unless everything is always in master).
To make this easier to work with I also wrote some shell scripts to make it easy to start any of the builds. Though in my case we're working with thousands of branches. Ben On May 10, 2013 1:38 PM, "JonathanRRogers" <[email protected]> wrote: > On Friday, May 10, 2013 1:23:41 PM UTC-4, Jon Drukman wrote: >> >> I am looking into using Jenkins as a tool for continuous deployment. A >> commit to a git repository triggers building of rpms, updating a yum repo, >> possibly triggering production machines to do a yum update, etc. I've set >> up a test project, and Jenkins seems like it provides a lot of useful >> functionality. >> >> Unfortunately the way our company is set up, we have hundreds of git >> repositories and more added every week (they are all separate ad campaigns >> for various clients). Some questions I have: >> >> Does Jenkins performance suffer with potentially hundreds of >> repositories? (As of today, 352. Most are not changed on a daily basis. >> Maybe 5-10. Eventually we may have 500 or more simultaneous active >> campaigns.) >> > > Jenkins' git plugin performs poorly with hundreds of branches in a single > repository. I haven't tried it with hundreds of repositories, but I > wouldn't be surprised if that also performed poorly. I now avoid the git > plugin entirely and use git commands directly. > > >> >> Is there an API to create projects? Manually adding 352 is not going to >> be a good time. I can use Fake or something to script a web browser but >> that is distasteful. Plus we're going to have to automatically add the new >> campaigns as they are created. >> >> > There is an excellent API as described in the wiki: > <URL:https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API> > > I generate and manipulate projects with Python scripts using > <URL:http://pythonhosted.org/jenkinsapi/> > > -- > 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.
