Difference between revisions of "Jenkins"

From Pumping Station One
Jump to navigation Jump to search
Line 6: Line 6:
  
 
Github integration requires an ouath token to create post commit callbacks to the jenkins server.
 
Github integration requires an ouath token to create post commit callbacks to the jenkins server.
 +
 +
=== Option 1: Let Jenkis Manage webhooks ===
  
 
* go to https://github.com/settings/applications
 
* go to https://github.com/settings/applications
Line 22: Line 24:
 
** OAuth token:  Paste the token from "Personal access tokens"
 
** OAuth token:  Paste the token from "Personal access tokens"
 
* click save
 
* click save
 +
 +
=== Option 2: Manually Manage Webhooks ===
 +
 +
* go to your project page on github.
 +
* Click "Settings" in the right sidebar
 +
* Click "Webhooks and Services"
 +
* Click "Add Service" and type "jenkins"
 +
** You should see "Jenkins (Git plugin)"
 +
* In the "Jenkins hook url" box, enter "https://jenkins.pumpingstationone.org/github-webhook/"
 +
* Click "Add Service"

Revision as of 20:48, 8 March 2015

General info

Jenkins is an automatic build server. It compiles code projects on change

Github Integration

Github integration requires an ouath token to create post commit callbacks to the jenkins server.

Option 1: Let Jenkis Manage webhooks

Option 2: Manually Manage Webhooks

  • go to your project page on github.
  • Click "Settings" in the right sidebar
  • Click "Webhooks and Services"
  • Click "Add Service" and type "jenkins"
    • You should see "Jenkins (Git plugin)"
  • In the "Jenkins hook url" box, enter "https://jenkins.pumpingstationone.org/github-webhook/"
  • Click "Add Service"