aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-10-05 11:57:25 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-10-05 15:16:37 +0000
commit73ee6215490ed957c13c8dbe03814b039d6ddd5c (patch)
tree2c57279b6f721ea5aa7be083c0ed36d6bbf5e8e8
parent19e00fba81ee9caaff24436262430bbe4a2f17f2 (diff)
[ci] Do not exit on success
Before, CI was exiting when an exit code of 0 was returned, failing to build the installer script. Tested with `bash -c 'source scripts/ci/build.sh; bazel_build output/ci'` and checking output/ci for the installer. -- MOS_MIGRATED_REVID=104647177
-rwxr-xr-xscripts/ci/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index 2dd14e5da4..a73012e4e4 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -157,7 +157,7 @@ function bazel_build() {
${BUILD_SCRIPT_PATH} ${BAZEL_COMPILE_TARGET:-all} || retCode=$?
# Exit for failure except for test failures (exit code 3).
- if (( $retCode != 3 )); then
+ if (( $retCode != 0 && $retCode != 3 )); then
exit $retCode
fi