diff options
author | Philip Hands <phil@hands.com> | 2016-06-19 12:06:16 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-19 12:15:51 +0200 |
commit | 9046941f19d7eccd75eef0a0f90afaf8aeb820d1 (patch) | |
tree | e184505e6c0bd2fc5bfd48bb5519361c3bd51a7c /bin | |
parent | 64735d4d347437701d90348782823b7e4a57f77a (diff) | |
download | jenkins.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-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 # |