Independent control of use of docker cache for builder containers
Signed-off-by: Scott Little <scott.little@windriver.com> Change-Id: I1c00af1efb695aea7908ec415266a0f53e8444a5
This commit is contained in:
parent
72e948f751
commit
61547aeba8
@ -134,6 +134,9 @@ pipeline {
|
||||
booleanParam (
|
||||
name: 'REBUILD_BUILDER_IMAGES'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'BUILDER_USE_DOCKER_CACHE'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'REFRESH_SOURCE'
|
||||
)
|
||||
|
@ -40,6 +40,9 @@ pipeline {
|
||||
booleanParam (
|
||||
name: 'REBUILD_BUILDER_IMAGES'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'BUILDER_USE_DOCKER_CACHE'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'USE_DOCKER_CACHE'
|
||||
)
|
||||
|
@ -17,7 +17,7 @@ set -x
|
||||
load_build_env
|
||||
|
||||
# start containers
|
||||
if $USE_DOCKER_CACHE ; then
|
||||
if $BUILDER_USE_DOCKER_CACHE ; then
|
||||
cache_opts="--cache"
|
||||
fi
|
||||
if $REBUILD_BUILDER_IMAGES ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user