From: Fatih Degirmenci Date: Mon, 11 May 2015 20:11:15 +0000 (+0200) Subject: Fix foreman build cache handling X-Git-Tag: arno.2015.1.0~53 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F507%2F1;p=genesis.git Fix foreman build cache handling JIRA: Change-Id: Id6b6cd35e4692a6990c3a4bdb4bab7b7f129dc40 Signed-off-by: Fatih Degirmenci --- diff --git a/foreman/ci/build.sh b/foreman/ci/build.sh index 0f71636..7a1ef52 100755 --- a/foreman/ci/build.sh +++ b/foreman/ci/build.sh @@ -296,7 +296,6 @@ if [ ! -z ${BUILD_CACHE_URI} ]; then echo "Downloading cach file ${BUILD_CACHE_URI}/${REMOTE_CACHE_ARCH_NAME} ..." set +e ${REMOTE_ACCESS_METHD} -o ${CACHE_TMP}/cache/${LOCAL_CACHE_ARCH_NAME}.tgz ${BUILD_CACHE_URI}/${REMOTE_CACHE_ARCH_NAME}.tgz - tar -tzf ${BUILD_CACHE_URI}/${REMOTE_CACHE_ARCH_NAME}.tgz >/dev/null rc=$? set -e if [ $rc -ne 0 ]; then