[Qa-jenkins-scm] [jenkins.debian.net] 01/01: d-i: copy ISOs produced by pu/ builds to pb10 for testing

Holger Levsen holger at layer-acht.org
Sun Jun 19 10:16:32 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 9046941f19d7eccd75eef0a0f90afaf8aeb820d1
Author: Philip Hands <phil at hands.com>
Date:   Sun Jun 19 12:06:16 2016 +0200

    d-i: copy ISOs produced by pu/ builds to pb10 for testing
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/d-i_build.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 4d0bda2..d6480f7 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -52,6 +52,11 @@ preserve_artifacts() {
 	if PU_BRANCH_DIR=$(replace_origin_pu "/srv/udebs/" $GIT_BRANCH) ; then
 		mkdir -p $PU_BRANCH_DIR
 		cp ${RESULT_DIR}/*.udeb $PU_BRANCH_DIR
+
+		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
+			rsync -e "ssh -o 'Batchmode = yes' -r profitbricks-build10-amd64.debian.net:$PU_BRANCH_DIR/ $PU_BRANCH_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