diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-10 17:01:50 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-10 17:01:50 +0100 |
commit | 62f7375fddeec762619e4790619840277e76be88 (patch) | |
tree | c2e87181a6312a84ace82fd00e8018e73b4d73b7 /INSTALL | |
parent | 68227a8207b20debe9626548b5a9b70fb6aafa99 (diff) | |
download | jenkins.debian.net-62f7375fddeec762619e4790619840277e76be88.tar.xz |
update documentation how things are set up, esp. jenkins-job-builder is now finally installed from a package.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 26 |
1 files changed, 12 insertions, 14 deletions
@@ -24,7 +24,7 @@ Currently running the long term support .deb from jenkins-ci.org. Jenkins is installed using 'deb http://pkg.jenkins-ci.org/debian-stable binary/' into '/etc/apt/sources.list.d/jenkins.list' and `apt-get update && apt-get install jenkins`. -I would prefer to run a jenkins package from jessie-backports. +We would prefer to run a jenkins package from jessie-backports. ==== Jenkins plugins @@ -61,9 +61,9 @@ I would prefer to run a jenkins package from jessie-backports. === updating jenkins.debian.net with 'update_jdn.sh' -'update_jdn.sh' is a small hackish script which will install all needed packages, copy their configuration in place, generate the documentation webpages and update all jenkins jobs if needed. +'update_jdn.sh' is a hackish script which will install all needed packages, copy their configuration in place, generate the documentation webpages and update all jenkins jobs if needed. -As 'root' run: +As user run: ---- cd git clone git://git.debian.org/git/qa/jenkins.debian.net.git @@ -71,26 +71,24 @@ cd jenkins.debian.net ./update_jdn.sh ---- -'jenkins-job-builder', 'vncdotool' and (currently) 'kgb-client' are the only software which is not covered by this script. +'jenkins-job-builder' and 'vncdotool' are the only softwares which are not installed by packages and are not covered by this script. === Installing jenkins-job-builder ----- -pip install python-jenkins - -git clone git://git.openstack.org/openstack-infra/jenkins-job-builder -cd jenkins-job-builder -python setup.py install ----- +* backport python-jenkins 0.4.8-2 for jessie: +** remove python3-unittest from build-depends +** build +* backport jenkins-job-builder 1.3.0-5 for jessie: +** just build it. -Though actually https://github.com/h01ger/jenkins-job-builder is used atm. +* We are working on using packages uploaded to jessie-backports. ==== Using jenkins-job-builder 'update_jdn.sh' takes care of this too, so this is just a quick run through. Make sure to also look at the upstream documentation at http://ci.openstack.org/jenkins-job-builder/ -* run `cd /srv/jenkins/job-cfg ; jenkins-jobs update .` to update jobs -* for testing: `cd /srv/jenkins/job-cfg ; rm test-output/ -r ; mkdir test-output ; jenkins-jobs test . -o test-output/ ; ls test-output/` +* run `cd /srv/jenkins/job-cfg ; jenkins-job-builder update .` to update jobs +* for testing: `cd /srv/jenkins/job-cfg ; rm test-output/ -r ; mkdir test-output ; jenkins-job-builder test . -o test-output/ ; ls test-output/` === Installing kgb-client |