From 545874b69ae0f0e4607c44420434b9f1e83fa173 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 23 Feb 2018 13:48:33 +0000 Subject: xci: scripts: start-new-vm: Set pipefail option In commit I75a8cb8c05957bb205e63210d6cafaf54d989f32 the 'ts' utility was added in order to print timestamps for deployment. However, this breaks the exit code since 'pipefail' was not set so every job was returning 'success'. Change-Id: Ia5f47ea96a4a5be9ed0664f5c7100accc30cde51 Signed-off-by: Markos Chandras --- xci/scripts/vm/start-new-vm.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'xci/scripts/vm') diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index f3ddcc07..f4cec30a 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -333,6 +333,7 @@ if [[ $? != 0 ]]; then echo "Creating a default test case to run xci-deploy.sh" cat > ${BASE_PATH}/run_jenkins_test.sh <