summaryrefslogtreecommitdiffstats
path: root/jjb/xci
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-02-23 12:57:07 +0000
committerMarkos Chandras <mchandras@suse.de>2018-02-23 12:57:32 +0000
commit087deeb855620075c686b195c7fb5ef20c55b928 (patch)
tree8c32b254a85735af4d487fc98ce7abad09ad71d6 /jjb/xci
parentb5f262af5efb6a4f2b004c9b9133e70b57aa1793 (diff)
jjb: xci: xci-start-new-vm.sh: Set pipefail option
In commit I77d5d66c0146f943d805612ca5b47e2eed3ffc41 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: I2625a655a7334b1e43b690618821e69377075ed1 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/xci')
-rwxr-xr-xjjb/xci/xci-start-new-vm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh
index 2c6ec3fad..b38ebe510 100755
--- a/jjb/xci/xci-start-new-vm.sh
+++ b/jjb/xci/xci-start-new-vm.sh
@@ -35,6 +35,7 @@ cd $WORKSPACE
# yourself.
cat > xci_test.sh<<EOF
#!/bin/bash
+set -o pipefail
export DISTRO=$DISTRO
export DEPLOY_SCENARIO=$DEPLOY_SCENARIO
export FUNCTEST_MODE=$FUNCTEST_MODE