diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-09-05 13:27:27 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-09-05 13:27:27 +0200 |
commit | 87aa84b4565422a84742cbb0d7e48194891f5d91 (patch) | |
tree | c4171079894624151014672d47488b46bce74b27 /jjb/functest | |
parent | 894865fc3e14447a9bfe74205d5cbf86a8d24fb1 (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.yaml | 7 |
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 . |