From: Trevor Bramwell Date: Wed, 13 Jun 2018 20:13:34 +0000 (+0000) Subject: Merge "Update repo archive script to handle empty repos" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=a525952002800dfa4093f9c5d2e2ef178f91ae03;hp=3a55ac00622a0a0d18d619805fea66767a75cfb4 Merge "Update repo archive script to handle empty repos" --- diff --git a/jjb/releng/opnfv-repo-archiver.sh b/jjb/releng/opnfv-repo-archiver.sh index 6fa0aef50..b7ff3baa0 100644 --- a/jjb/releng/opnfv-repo-archiver.sh +++ b/jjb/releng/opnfv-repo-archiver.sh @@ -29,7 +29,7 @@ for PROJECT in "${PROJECT_LIST[@]}"; do git clone "https://gerrit.opnfv.org/gerrit/$PROJECT.git" $CLONE_PATH/$PROJECT else pushd "$CLONE_PATH/$PROJECT" &>/dev/null - git pull -f + git pull -f origin master popd &> /dev/null fi