From: Fatih Degirmenci Date: Thu, 9 Jun 2016 18:00:27 +0000 (+0200) Subject: fuel: Remove the expired items from the cache before starting the build X-Git-Tag: colorado.1.0~376 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=260010412c1da7cf4299982ce1ac98df0e88a658;p=releng.git fuel: Remove the expired items from the cache before starting the build Change-Id: I51decee4ef32caa768e95a14d462b205f96203ab Signed-off-by: Fatih Degirmenci --- diff --git a/jjb/fuel/fuel-build.sh b/jjb/fuel/fuel-build.sh index 95ebaa5a9..a32e5323a 100755 --- a/jjb/fuel/fuel-build.sh +++ b/jjb/fuel/fuel-build.sh @@ -13,6 +13,9 @@ set -o pipefail cd $WORKSPACE +# remove the expired items from cache +./ci/clean_cache.sh $CACHE_DIRECTORY + LATEST_ISO_PROPERTIES=$WORKSPACE/latest.iso.properties if [[ "$JOB_NAME" =~ "daily" ]]; then # check to see if we already have an artifact on artifacts.opnfv.org