Independent control of use of docker cache for builder containers

Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I1c00af1efb695aea7908ec415266a0f53e8444a5
changes/85/861185/1
Scott Little 4 months ago
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…
Cancel
Save