summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-06-09 20:00:27 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-06-13 12:28:21 +0000
commit260010412c1da7cf4299982ce1ac98df0e88a658 (patch)
tree63bbff575957a0277fd9d65a657ae8dcd73e719c
parent3c539f888e8e7db4a39aa65ede339174388fe2f9 (diff)
fuel: Remove the expired items from the cache before starting the build
Change-Id: I51decee4ef32caa768e95a14d462b205f96203ab Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rwxr-xr-xjjb/fuel/fuel-build.sh3
1 files changed, 3 insertions, 0 deletions
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