Fail build if determine-merge-order script fails 92/90292/1
authorThanh Ha <zxiiro@gmail.com>
Thu, 4 Jun 2020 16:48:27 +0000 (12:48 -0400)
committerThanh Ha <zxiiro@gmail.com>
Thu, 4 Jun 2020 16:52:10 +0000 (12:52 -0400)
We were ignoring failure of this script previously so we have not been
catching when this started failing.

Change-Id: I8cb7cbdda32b8a9dd17c9297e6cd3af9345df6a9
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
jjb/autorelease/autorelease-macros.yaml

index cfd5df9f623a38006de46f2ce282365a2cf092f8..a1ab67240d25d3d05c23d53144427b6fb6de22b0 100644 (file)
@@ -44,6 +44,7 @@
     builders:
       - shell: |
           #!/bin/bash -l
+          set -xe -o pipefail
           virtualenv -p python3 --system-site-packages $WORKSPACE/venv
           source $WORKSPACE/venv/bin/activate
           PYTHON="$WORKSPACE/venv/bin/python"