summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-docker-jobs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/fuel/fuel-docker-jobs.yaml')
-rw-r--r--jjb/fuel/fuel-docker-jobs.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-docker-jobs.yaml b/jjb/fuel/fuel-docker-jobs.yaml
index c06848e56..473542d85 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
@@ -187,6 +193,10 @@
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: ""
description: "commit id to make a snapshot docker image"