summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-19 12:06:16 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-19 12:15:51 +0200
commit9046941f19d7eccd75eef0a0f90afaf8aeb820d1 (patch)
treee184505e6c0bd2fc5bfd48bb5519361c3bd51a7c /bin
parent64735d4d347437701d90348782823b7e4a57f77a (diff)
downloadjenkins.debian.net-9046941f19d7eccd75eef0a0f90afaf8aeb820d1.tar.xz
d-i: copy ISOs produced by pu/ builds to pb10 for testing
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/d-i_build.sh5
1 files changed, 5 insertions, 0 deletions
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
#