From: Marjan Schiller Date: Thu, 4 Jul 2013 08:12:44 +0000 (+0200) Subject: Added switch for updating test state. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=48a4d43906302f7f6336229bb2befddee288ab08;p=profitbricks%2Fjenkins-build-scripts.git Added switch for updating test state. --- diff --git a/liveboot_set_test_state.sh b/liveboot_set_test_state.sh index 233fc80..7d25cef 100755 --- a/liveboot_set_test_state.sh +++ b/liveboot_set_test_state.sh @@ -3,6 +3,11 @@ set -e +if [ ${LIVEBOOT_UPDATE_TEST_STATE} == "false" ]; then + echo "No state will be updated." + exit 0 +fi + if [ -z "${LIVEBOOT_BUILD_NUMBER}" ] then echo "\$LIVEBOOT_BUILD_NUMBER is empty, not using Jenkins? Please export manually!"