summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2020-09-05 11:33:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-09-05 11:33:21 +0000
commita25cdc079c6729dd14c107a1f1b8634d66ec8e1b (patch)
tree468534a36058707fc3186563f316e4635400177d /jjb
parent117a83def8ff1139ccad4af3ca8fceed30cf8f40 (diff)
parent87aa84b4565422a84742cbb0d7e48194891f5d91 (diff)
Merge "Fix path in docker builds due to mts"
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/xtesting.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index 40fd3abe3..f915f53dd 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -159,7 +159,12 @@
else
build_arg="--build-arg {ref_arg}={ref}"
fi
- cd {path}
+ case {tag} in
+ *latest)
+ cd {path};;
+ *)
+ cd docker;;
+ esac
sudo docker build $build_arg \
--pull=false --no-cache --force-rm=true \
-t $image .