diff options
Diffstat (limited to 'jjb')
-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 8e2b1e82c..267514a24 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -73,8 +73,13 @@ else image={repo}:{port}/{container}:{tag} fi + if [ "{ref_arg}" = "None" ]; then + build_arg="" + else + build_arg="--build-arg {ref_arg}={ref}" + fi cd {path} - sudo docker build --build-arg {ref_arg}={ref} \ + sudo docker build $build_arg \ --pull=false --no-cache --force-rm=true \ -t $image . |