[Qa-jenkins-scm] [jenkins.debian.net] 01/01: create homedirectories for build hosts (needed for jenkins remote nodes)
Holger Levsen
holger at moszumanska.debian.org
Mon Aug 3 11:52:00 UTC 2015
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 24ea21a7e847967a579dd6b0df4ea18ad0cc87ca
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Aug 3 13:50:56 2015 +0200
create homedirectories for build hosts (needed for jenkins remote nodes)
---
update_jdn.sh | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index cfd41c0..fd46674 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -57,7 +57,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
fi
# make sure needed directories exists - some directories will not be needed on all hosts...
-for directory in /schroots /srv/reproducible-results /srv/d-i /srv/live-build /var/log/jenkins/ ; do
+for directory in /schroots /srv/reproducible-results /srv/d-i /srv/live-build /var/log/jenkins/ /srv/jenkins /srv/jenkins/pseudo-hosts ; do
if [ ! -d $directory ] ; then
sudo mkdir $directory
sudo chown jenkins.jenkins $directory
@@ -79,6 +79,14 @@ if ! test -h /chroots; then
fi
fi
+# create homedirectories for build hosts (needed for jenkins remote nodes)
+case $HOSTNAME in
+ bpi0|hb0|wbq0|cbxi4pro0) sudo mkdir /srv/jenkins/pseudo-hosts/$HOSTNAME-armhf-rb
+ sudo chown jenkins.jenkins /srv/jenkins/pseudo-hosts/$HOSTNAME-armhf-rb
+ ;;
+ *) ;;
+esac
+
# only on Debian systems
if [ -f /etc/debian_version ] ; then
if ! test -h /var/cache/pbuilder/build; then
--
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