News for hackers. Stuff that matters.
Re:How Github uses Github to build Github by Pewpewarrows on Thursday September 22, 2011 @09:21AM (#3025953)
I've seen it mentioned a few times, but I've never gotten anyone to explain: how do you go about setting up a CI server (like Jenkins) to automatically track branches, new and old?
Re:How Github uses Github to build Github by zumda on Thursday September 22, 2011 @10:34AM (#3026195)
In Jekins builds can be triggered by simply calling a URL. In Github, it is really easy to add a post receive hook which calls a URL. Just call the build URL, and everytime a branch is pushed, Jenkins will build the project and to other things associated with the task (like deploying to staging, running tests on staging, and deploying to production if the staging tests don't return an error).

There is also a Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Github+Plugin) which should handle this automatically.

Re:How Github uses Github to build Github by mitchty on Thursday September 22, 2011 @11:00AM (#3026282)
At least with the latest jenkins and its git plugin, it builds/tests all branches by default.

Its not overly hard to setup, I just added git repos to the list. I'm still "testing" it locally on my workstation before we start using it in all of our environments.

Re:How Github uses Github to build Github by Pewpewarrows on Thursday September 22, 2011 @12:35PM (#3026637)
Ahh, I probably should have updated jenkins and the plugin before asking that. Thanks!