[Qa-jenkins-scm] [jenkins.debian.net] 01/01: d-i iso builds: refactor

Holger Levsen holger at layer-acht.org
Mon Jun 20 22:17: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 a6306aac6ed44593638beecfb3b5dc7fb3b20418
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Jun 21 00:16:56 2016 +0200

    d-i iso builds: refactor
---
 bin/d-i_build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 910b3e2..ac74c70 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -9,6 +9,7 @@ common_init "$@"
 
 RESULT_DIR=$(readlink -f ..)
 ISO_DIR=/srv/d-i/isos
+DI_HOST=profitbricks-build10-amd64.debian.net
 
 clean_workspace() {
 	#
@@ -68,8 +69,8 @@ preserve_artifacts() {
 
 		if [ "$HOSTNAME" = "jenkins" ] ; then
 			# FIXME this rsync should probably be in a separate job that the one on pb10 could then depend on -- otherwise race conditions seem to lurk
-			ssh -o 'Batchmode = yes' profitbricks-build10-amd64.debian.net mkdir -p $ISO_DIR/
-			rsync -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ profitbricks-build10-amd64.debian.net:$ISO_DIR/
+			ssh -o 'Batchmode = yes' $DI_HOST mkdir -p $ISO_DIR/
+			rsync -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $DI_HOST:$ISO_DIR/
 		fi
 	fi
 }

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