X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffunctest%2Fxtesting.yaml;h=267514a24f7121244331b91f1f834c56a30926ff;hb=ab4b5a257813b172aebd409f68c6483d6383bb99;hp=97911fcfdae5bc05be68a35801572341fdb1d17c;hpb=d1a590abb5d3f3e5c80cc195c7bc6438adcba62d;p=releng.git diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 97911fcfd..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 . @@ -188,7 +193,7 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-[a-z0-9]*$' + - '^xtesting-.*-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -280,7 +285,7 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-[a-z0-9]*$' + - '^xtesting-.*-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -352,7 +357,7 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-[a-z0-9]*$' + - '^xtesting-.*-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -406,4 +411,4 @@ - last-success - last-failure - last-duration - regex: ^xtesting-.*-[a-z0-9]*$ + regex: ^xtesting-.*-(daily|check|gate)$