From 48a4d43906302f7f6336229bb2befddee288ab08 Mon Sep 17 00:00:00 2001 From: Marjan Schiller Date: Thu, 4 Jul 2013 10:12:44 +0200 Subject: [PATCH] Added switch for updating test state. --- liveboot_set_test_state.sh | 5 +++++ 1 file changed, 5 insertions(+) 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!" -- 2.39.5