From 9046941f19d7eccd75eef0a0f90afaf8aeb820d1 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 19 Jun 2016 12:06:16 +0200 Subject: d-i: copy ISOs produced by pu/ builds to pb10 for testing Signed-off-by: Holger Levsen --- 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 4d0bda26..d6480f76 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 # -- cgit v1.2.3-54-g00ecf