From 62f7375fddeec762619e4790619840277e76be88 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 10 Dec 2015 17:01:50 +0100 Subject: update documentation how things are set up, esp. jenkins-job-builder is now finally installed from a package. --- INSTALL | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index d665ecb9..7db8c7e4 100644 --- a/INSTALL +++ b/INSTALL @@ -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 -- cgit v1.2.3-54-g00ecf