summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-11-21 18:25:48 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-11-21 18:25:48 +0100
commitcd6690d35f5152b0932e73fa15a8f3a4218ad42e (patch)
treea63392098c44a097bf5d730fadb84f15c4f35342 /jjb/fuel
parent8a3a76b8c6233b15179cc5aa8f4bb98694533e65 (diff)
[fuel] docker build: Add CACHE_INVALIDATE
JIRA: FUEL-398 Change-Id: Ie490ec0841dae9748b35fa716e8b9fc0cd0aff63 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/fuel')
-rw-r--r--jjb/fuel/fuel-docker-jobs.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-docker-jobs.yaml b/jjb/fuel/fuel-docker-jobs.yaml
index c06848e56..951a31c00 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
@@ -187,6 +188,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"