From e46416cb0e0869acf12a923caba9563fd613a313 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Thu, 16 Jun 2016 23:56:17 +0200 Subject: fuel: Don't attempt cache cleanup if cleanup script doesn't exist Change-Id: Iafe300baabfe6a0261f318965104b4c56401a291 Signed-off-by: Fatih Degirmenci --- jjb/fuel/fuel-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg