fuel: Remove the expired items from the cache before starting the build 37/15337/2
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 9 Jun 2016 18:00:27 +0000 (20:00 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Mon, 13 Jun 2016 12:28:21 +0000 (12:28 +0000)
Change-Id: I51decee4ef32caa768e95a14d462b205f96203ab
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/fuel/fuel-build.sh

index 95ebaa5..a32e532 100755 (executable)
@@ -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