Jenkins: Difference between revisions
From PS:1 Wiki Dev
Jump to navigationJump to search
Content deleted Content added
m Bot: Cosmetic changes |
|||
| Line 5: | Line 5: | ||
== Github Integration == |
== Github Integration == |
||
* Go to your projects "settings" link in github |
|||
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. |
|||
* Click "Webhooks & Services" |
|||
* Click "Add Service" |
|||
* Type "Jenkins" and then click "Jenkisn (Git Plugin)" |
|||
* In the '''Jenkins Url ''' field, type "https://jenkins.pumpingstationone.org/github-webhook/" |
|||
* Clock "Add Service" |
|||
After following these steps, you will be able to turn on the "Build when a change is pushed to GitHub" build trigger for projects. |
|||
== Adding A Buildslave == |
== Adding A Buildslave == |
||
Revision as of 17:38, 10 November 2015
General info
Jenkins is an automatic build server. It compiles code projects on change
Github Integration
- Go to your projects "settings" link in github
- Click "Webhooks & Services"
- Click "Add Service"
- Type "Jenkins" and then click "Jenkisn (Git Plugin)"
- In the Jenkins Url field, type "https://jenkins.pumpingstationone.org/github-webhook/"
- Clock "Add Service"
After following these steps, you will be able to turn on the "Build when a change is pushed to GitHub" build trigger for projects.
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