summaryrefslogtreecommitdiffstats
path: root/foreman/ci
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-05-11 22:11:15 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-05-11 22:12:55 +0200
commit82acf9fc006912f50ca799dee2489b53c712d936 (patch)
treedc395a9a8d703394278bdca3ab01bfd97daf8a62 /foreman/ci
parent23f9abd51206d2d46601d72786d9be9b70b892fb (diff)
Fix foreman build cache handling
JIRA: Change-Id: Id6b6cd35e4692a6990c3a4bdb4bab7b7f129dc40 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'foreman/ci')
-rwxr-xr-xforeman/ci/build.sh1
1 files changed, 0 insertions, 1 deletions
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