Difference between revisions of "Jenkins"

From Pumping Station One
Jump to navigation Jump to search
m (Bot: Cosmetic changes)
Line 5: Line 5:
 
== Github Integration ==
 
== Github Integration ==
  
Jenkins is configured to be [https://github.com/buildmon buildmon] on github. Add buildmon as a collobarator to your repo in the repo settings >> collaborators menu.
+
Jenkins is configured to be [https://github.com/buildmon buildmon] on github. Add buildmon as a collobarator to your repo in the repo settings >> collaborators menu.
  
 
Once you have done that, jenkins will have all the access it needs to register webcallbacks to auto build on commit and set build status messages for pull requests.
 
Once you have done that, jenkins will have all the access it needs to register webcallbacks to auto build on commit and set build status messages for pull requests.

Revision as of 05:00, 12 July 2015

General info

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

Github Integration

Jenkins is configured to be buildmon on github. Add buildmon as a collobarator to your repo in the repo settings >> collaborators menu.

Once you have done that, jenkins will have all the access it needs to register webcallbacks to auto build on commit and set build status messages for pull requests.

Adding A Buildslave

   sudo pacman -S libvirt qemu jdk8-openjdk
   sudo useradd --home-dir /srv/jenkins --groups kvm --create-home --system jenkins
   sudo -u jenkins mkdir ~jenkins/.ssh
   sudo chown jenkins:jenkins /srv/jenkins/.ssh/authorized_keys
   sudo chmod 700 /srv/jenkins/.ssh/authorized_keys