diff options
-rwxr-xr-x | bin/d-i_build.sh | 5 |
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 # |