summaryrefslogtreecommitdiffstats
path: root/bin/d-i_build.sh
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-19 21:05:28 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 00:34:33 +0200
commit5b8b9b87c27626723e86b7d911f8e57739f452c6 (patch)
treed77812aa3c2178ee865401a6ac323116a4e784ff /bin/d-i_build.sh
parentf4c8ee27f103c5ee501892b7801f309f5c49e7e9 (diff)
downloadjenkins.debian.net-5b8b9b87c27626723e86b7d911f8e57739f452c6.tar.xz
d-i: make sure that iso dir exists on remote machine before copying to it
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-xbin/d-i_build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 54a32489..2d50113d 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -55,6 +55,7 @@ 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 $PU_BRANCH_DIR/
rsync -e "ssh -o 'Batchmode = yes'" -r profitbricks-build10-amd64.debian.net:$PU_BRANCH_DIR/ $PU_BRANCH_DIR/
fi
fi