From 017b6c32756147e995fdd49641b5a00ec12a6af2 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 27 Jan 2019 18:30:57 +0100 Subject: [PATCH] [ci] use travis_wait while uploading to sourceforge --- .travis/build-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/build-deploy.sh b/.travis/build-deploy.sh index c5b9f2547b..18fdc7f408 100755 --- a/.travis/build-deploy.sh +++ b/.travis/build-deploy.sh @@ -35,7 +35,7 @@ function upload_baseline() { cd target/reports BRANCH_FILENAME="${TRAVIS_BRANCH/\//_}" zip -q -r ${BRANCH_FILENAME}-baseline.zip ${BRANCH_FILENAME}/ - rsync -avh ${BRANCH_FILENAME}-baseline.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-regression-tester/ + .travis/travis_wait "rsync -avh ${BRANCH_FILENAME}-baseline.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-regression-tester/" if [ $? -ne 0 ]; then log_error "Error while uploading ${BRANCH_FILENAME}-baseline.zip to sourceforge!" log_error "Please upload manually: https://sourceforge.net/projects/pmd/files/pmd-regression-tester/" @@ -89,7 +89,7 @@ elif travis_isPush; then echo -e "\n\n" log_info "Uploading pmd distribution to sourceforge..." - rsync -avh pmd-dist/target/pmd-*-${VERSION}.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd/${VERSION}/ + .travis/travis_wait "rsync -avh pmd-dist/target/pmd-*-${VERSION}.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd/${VERSION}/" if [ $? -ne 0 ]; then log_error "Error while uploading pmd-*-${VERSION}.zip to sourceforge!" log_error "Please upload manually: https://sourceforge.net/projects/pmd/files/pmd/"