[Qa-jenkins-scm] [jenkins.debian.net] 01/01: create user phil on jenkins host too

Holger Levsen holger at layer-acht.org
Sun May 22 15:21:50 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 361d04e70ec83ced8d7d8b17e0b778176d687316
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 22 17:20:45 2016 +0200

    create user phil on jenkins host too
---
 update_jdn.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index c70c571..ee258b7 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -54,7 +54,8 @@ for user in helmut holger mattia lunar phil ; do
 		sudo adduser $user libvirt
 		sudo adduser $user libvirt-qemu
 		continue
-	elif [ "$user" = "phil" ] ; then
+	elif [ "$user" = "phil" ] && ( ! [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ) ; then
+		# create phil on jenkins and jenkins-test-vm only
 		continue
 	fi
 	# actually create the user

-- 
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