From 260010412c1da7cf4299982ce1ac98df0e88a658 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Thu, 9 Jun 2016 20:00:27 +0200 Subject: fuel: Remove the expired items from the cache before starting the build Change-Id: I51decee4ef32caa768e95a14d462b205f96203ab Signed-off-by: Fatih Degirmenci --- jjb/fuel/fuel-build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jjb/fuel') 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 -- cgit 1.2.3-korg