From: Cédric Ollivier Date: Sat, 5 Sep 2020 11:27:27 +0000 (+0200) Subject: Fix path in docker builds due to mts X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F70957%2F1;p=releng.git Fix path in docker builds due to mts Change-Id: Ia5a7181e0884ffec0335a49154fa00c607248b14 Signed-off-by: Cédric Ollivier --- 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 .