X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffuel%2Ffuel-docker-jobs.yaml;h=ae80c440e20def419756cdcd1e510b31c9c50309;hb=8428109135870ffb3b29cc3f1748458ca576396e;hp=c06848e560f1f25eab441179815734ef262bfdc4;hpb=cdb60a4b93c166f8610caac60d128449faeacd35;p=releng.git diff --git a/jjb/fuel/fuel-docker-jobs.yaml b/jjb/fuel/fuel-docker-jobs.yaml index c06848e56..ae80c440e 100644 --- a/jjb/fuel/fuel-docker-jobs.yaml +++ b/jjb/fuel/fuel-docker-jobs.yaml @@ -29,6 +29,7 @@ node-parameters: false predefined-parameters: | PUSH_IMAGE=$PUSH_IMAGE + CACHE_INVALIDATE=$CACHE_INVALIDATE COMMIT_ID=$COMMIT_ID GERRIT_REFNAME=$GERRIT_REFNAME kill-phase-on: FAILURE @@ -69,6 +70,11 @@ - throttle: max-per-node: 1 option: 'project' + - build-blocker: + use-build-blocker: true + blocking-jobs: + - 'fuel-docker-.*' + blocking-level: 'NODE' scm: - git-scm @@ -108,6 +114,12 @@ branch: '{branch}' slave_label: '{slave_label}' arch_tag: '{arch_tag}' + properties: + - build-blocker: + use-build-blocker: true + blocking-jobs: + - 'fuel-docker-build-.*' + blocking-level: 'NODE' scm: - git-scm builders: @@ -186,6 +198,10 @@ name: PUSH_IMAGE default: "true" description: "To enable/disable pushing the image to Dockerhub." + - string: + name: CACHE_INVALIDATE + default: "0" + description: "Set to any non-zero value to force a Docker cache cleanup" - string: name: COMMIT_ID default: ""