summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-09-05 13:27:27 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-09-05 13:27:27 +0200
commit87aa84b4565422a84742cbb0d7e48194891f5d91 (patch)
treec4171079894624151014672d47488b46bce74b27 /jjb/functest
parent894865fc3e14447a9bfe74205d5cbf86a8d24fb1 (diff)
Fix path in docker builds due to mts
Change-Id: Ia5a7181e0884ffec0335a49154fa00c607248b14 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-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 .