From: Alexandru Avadanii Date: Sat, 20 Aug 2016 19:07:00 +0000 (+0300) Subject: armband: make submodules-init before clean_cache X-Git-Tag: colorado.1.0~133^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F19107%2F1;p=releng.git armband: make submodules-init before clean_cache Armband daily build is broken because clean_cache.sh is not present in Armband repo before calling `make submodules-init` (clean_cache.sh in Armband's ci dir is a softlink pointing to clean_cache.sh in Fuel@OPNFV git submodule's ci dir). Change-Id: I10cddd697c1bd624c5a13a4826e3a202acfbb7df Signed-off-by: Alexandru Avadanii --- diff --git a/jjb/armband/build.sh b/jjb/armband/build.sh index 01d09aa28..0d357576b 100755 --- a/jjb/armband/build.sh +++ b/jjb/armband/build.sh @@ -16,6 +16,9 @@ echo "Host info: $(hostname) $(hostname -I)" cd $WORKSPACE +# Armband requires initializing git submodules (e.g. for Fuel's clean_cache.sh) +make submodules-init + # remove the expired items from cache test -f $WORKSPACE/ci/clean_cache.sh && $WORKSPACE/ci/clean_cache.sh $CACHE_DIRECTORY