Don't override KUBE_RELEASE_RUN_TESTS if set in enviroment

This commit is contained in:
Jeff Grafton 2015-09-02 14:05:33 -07:00
parent 1b0cf281e5
commit e3bb7834d9

View File

@ -31,9 +31,11 @@ set -o xtrace
# space.
export HOME=${WORKSPACE} # Nothing should want Jenkins $HOME
export PATH=$PATH:/usr/local/go/bin
export KUBE_RELEASE_RUN_TESTS=n
export KUBE_SKIP_CONFIRMATIONS=y
: ${KUBE_RELEASE_RUN_TESTS:="n"}
export KUBE_RELEASE_RUN_TESTS
# Clean stuff out. Assume the last build left the tree in an odd
# state.
rm -rf ~/.kube*