#Jenkins Notify - GitHub web-hook awesomeness meets Jenkins coolness GitHub post-receive-hooks are awesome, they send a lot of information but there isn't an easy way of notifying Jenkins about building a given branch, since GitHub fires the hook for every push.
The idea of this super easy project is to provide some sort of proxy, freely hostable on Heroku, that uses a canonical name for Jenkins jobs (inspired on GitHub project naming).
On the tests you will see that we are using the sample from docs hence the canonical form for the project (using the sample data) will be
defunkt-github-master # => {owner-project-branch}
If API_TOKEN environment variable is assigned it will use it for performing the API calls to the Jenkins Remote Management API. Also when API_TOKEN_USER is present, we will prepend the authentication information to the API call (user:pwd@url).
Proudly built using node.js using npm. You must have a JENKINS_URL environment variable set.
Written by @johnnyhalife for Tactivos under do the whatever you want license