Setting up Dockerized Jenkins with Github
Apr 9, 2015 • Rentaro
I use Hudson as a Continuous Integration (CI) tool at work; it watches the SVN code repository and tests, builds, and deploys my services as code changes are commited. That got me wondering, how do I set it up for myself?
For convenience and other arbitrary reasons I decided to use Jenkins with Github. Jenkins can listen for Github webhooks (event triggered HTTP requests) for cues on when to perform user configured build tasks. In my case, I ultimately want Jenkins to automatically test and deploy web services per code change.
Setup Jenkins Job
Add Github Webhook
Once Jenkins was setup I setup webhooks for one of my Github projects.
Settings > Webhooks & Services > Add webhook
Payload URL: http://