Jenkins: Difference between revisions
From Pumping Station One
Created page with "== General info == Jenkins is an automatic build server. It compiles code projects on change == Github Integration == Github integration requires an ouath token to create..." |
No edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{mbox |type=warning |text=This system has been decommissioned. [[IT Infrastructure|Up-to-date IT information can be found here]] }} | |||
== General info == | == General info == | ||
Jenkins is an automatic build server. | Jenkins is an automatic build server. It compiles code projects on change | ||
== Github Integration == | == 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 | |||
[[Category: Systems]] | |||
Latest revision as of 08:04, 1 November 2018
| This system has been decommissioned. Up-to-date IT information can be found here |
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