[Qa-jenkins-scm] [jenkins.debian.net] 01/01: use j-j-b from bpo

Holger Levsen holger at moszumanska.debian.org
Mon Jan 11 10:32:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit d8c31ecb30b0a3e3ca5f25184f8b526a84051b27
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 11 11:32:15 2016 +0100

    use j-j-b from bpo
---
 INSTALL       | 35 +++++++++++------------------------
 update_jdn.sh |  6 ++++--
 2 files changed, 15 insertions(+), 26 deletions(-)

diff --git a/INSTALL b/INSTALL
index 7db8c7e..7bab406 100644
--- a/INSTALL
+++ b/INSTALL
@@ -71,32 +71,11 @@ cd jenkins.debian.net
 ./update_jdn.sh
 ----
 
-'jenkins-job-builder' and 'vncdotool' are the only softwares which are not installed by packages and are not covered by this script.
+'vncdotool' is the only software which is not installed by packages and is not covered by this script.
 
-=== Installing jenkins-job-builder
+=== IRC notification configuration using kgb-client
 
-* 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.
-
-* 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-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
-
-Rebuild the 'kgb-bot' source package from sid on whezzy and then install the 'kbg-client' package. Configuration is done through 'update_jdn.sh'.
-
-==== IRC notification configuration
-
-The jenkins jobs are configured to send email to 'jenkins+$IRC_CHANNEL' (like 'jenkins+debian-qa'), this is parsed by a script ('/srv/jenkins/bin/email2irc.sh') run through 'procmail' which then in turn notifies 'kgb-client', which notfies 'kgb-server'(s) on the internet, which are the bots notifying the IRC channels. 'kbg-client' needs to be '>= 1.24'.
+The jenkins jobs are configured to send email to 'jenkins+$IRC_CHANNEL' (like 'jenkins+debian-qa'), this is parsed by a script ('/srv/jenkins/bin/email2irc.sh') run through 'procmail' which then in turn notifies 'kgb-client', which notfies 'kgb-server'(s) on the internet, which are the bots notifying the IRC channels.
 
 The Jenkins EMail notification plugin is used as its state tracking is best (and the Jenkins IRC plugin is way too powerful).
 
@@ -113,6 +92,14 @@ python setup.py install
 
 link://munin-monitoring[Munin] is installed, running with link:https://jenkins.debian.net/munin/[jenkins plugins] not yet published elsewhere.
 
+=== 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-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/`
+
+
 === Backup
 
 Currently only the configuration is backed up, but neither the jenkins results nor system logs. But that's at least sufficient to re-setup the system if needed.
diff --git a/update_jdn.sh b/update_jdn.sh
index e7dff64..4e42aa3 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -329,8 +329,10 @@ if [ -f /etc/debian_version ] ; then
 			sudo apt-get install -t jessie-backports linux-image-amd64
 		fi
 		# only needed on the main node
-		if [ "$HOSTNAME" = "jenkins" ] ; then
-			sudo apt-get install -t jessie-backports ffmpeg libav-tools
+		if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+			sudo apt-get install -t jessie-backports jenkins-job-builder
+		elif [ "$HOSTNAME" = "jenkins" ] ; then
+			sudo apt-get install -t jessie-backports ffmpeg libav-tools jenkins-job-builder
 		fi
 		explain "packages installed."
 	else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list