If you would like builds to start immediately after a commit, you can use GitHub post-commit hooks to ping Jenkins to queue up a build whenever someone pushes to your repository.
There are just a few steps needed:



Voila! Now, any push to a branch in your GitHub repository will result in a build of any jobs configured to follow that branch.
Next: You may also want to configure your private GitHub repositories for access by your DEV@Cloud Jenkins builds while you have GitHub open.
Also - if you are interested - you can also have github pull requests build and be validated as they come in - read on.
If you would prefer not to enter your GitHub credentials, you can choose "Manually Manage Hook URLs" in step two, and then set up the commit hook manually for each repository you are monitoring with Jenkins.
To do this, go to your repository on github.com, click the "Admin" button at the top of the page, and choose "Service Hooks". Then choose "Post-Receive URLs" and enter the url to your Jenkins instance's GitHub webhook which is "https://<domain-id>.ci.cloudbees.com/github-webhook/" and should be the same for every repository or job.
