Skip to content

edavidis/jenkins-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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).

Requirements

Proudly built using node.js using npm. You must have a JENKINS_URL environment variable set.

Meta

Written by @johnnyhalife for Tactivos under do the whatever you want license

About

Converts GitHub http-hook to a Jenkins job notification, using canonical name, read the docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%