summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-08-20 22:07:00 +0300
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-08-20 22:20:19 +0300
commit103748c5abab7d33582218f7a06044737accd591 (patch)
treeb2584fc3923a6b28fecd48c120d89ba68476e5a0
parente69d2e7e6279a877b4e473bbb1627a9d379e749d (diff)
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 <Alexandru.Avadanii@enea.com>
-rwxr-xr-xjjb/armband/build.sh3
1 files changed, 3 insertions, 0 deletions
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