summaryrefslogtreecommitdiff
path: root/vm-data
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-08-27 18:26:14 +0100
committerLars Wirzenius <liw@liw.fi>2012-08-27 18:26:14 +0100
commit72bac2fedc24e21d2c8bf1b5cd14598a40b5c110 (patch)
tree68947e82e3f52861072b80f8aec8488bf8a9be70 /vm-data
parent1350a91d44b1dab4c5db3059f497f5e48040dc7f (diff)
downloadjenkinstool-72bac2fedc24e21d2c8bf1b5cd14598a40b5c110.tar.gz
Install required Jenkins plugins
Diffstat (limited to 'vm-data')
-rwxr-xr-xvm-data/jenkins.customize7
1 files changed, 7 insertions, 0 deletions
diff --git a/vm-data/jenkins.customize b/vm-data/jenkins.customize
index be7bda0..bf5eb6e 100755
--- a/vm-data/jenkins.customize
+++ b/vm-data/jenkins.customize
@@ -54,6 +54,13 @@ chroot "$rootdir" install -d -o jenkins -g jenkins /var/lib/jenkins
chroot "$rootdir" apt-get install -y --no-remove jenkins
umount "$rootdir/proc"
+# Install the Bazaar and Git plugins for Jenkins.
+old="$(pwd)"
+cd "$rootdir/var/lib/jenkins/plugins"
+wget --no-check-certificate http://updates.jenkins-ci.org/latest/bazaar.hpi
+wget --no-check-certificate http://updates.jenkins-ci.org/latest/git.hpi
+cd "$old"
+
# Remove the policy-rc.d so that things do start when we boot into the system.
rm "$rootdir/usr/sbin/policy-rc.d"