summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-06-16 22:21:32 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-16 22:21:32 +0000
commitad1e7d2a89db7a0b2f29208850f12eca644a9902 (patch)
tree3dfcb7f5dc9df183485f5319126b53603655b811 /jjb
parentae55883f35d95a003c558a9aded80e6231c82364 (diff)
parente46416cb0e0869acf12a923caba9563fd613a313 (diff)
Merge "fuel: Don't attempt cache cleanup if cleanup script doesn't exist"
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/fuel/fuel-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-build.sh b/jjb/fuel/fuel-build.sh
index a32e5323a..662a1f46e 100755
--- a/jjb/fuel/fuel-build.sh
+++ b/jjb/fuel/fuel-build.sh
@@ -14,7 +14,7 @@ set -o pipefail
cd $WORKSPACE
# remove the expired items from cache
-./ci/clean_cache.sh $CACHE_DIRECTORY
+test -f $WORKSPACE/ci/clean_cache.sh && $WORKSPACE/ci/clean_cache.sh $CACHE_DIRECTORY
LATEST_ISO_PROPERTIES=$WORKSPACE/latest.iso.properties
if [[ "$JOB_NAME" =~ "daily" ]]; then