angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/upload-server
Georgios Kalpakas bcefc61da4 ci(aio): correctly catch PR preview pre-verification errors
Previously, `aio/aio-builds-setup/scripts/travis-preverify-pr.sh` was supposed
to exit with 1 if a PR did not meet the preconditions and 2 if an error occurred
during pre-verification.
It relied on the exit codes of the node script that did the actual work, but
didn't account for errors that would be thrown in the `sh` script itself (e.g.
if the node script was not available). This caused such errors to appear as
non-verified PRs, instead of real errors that should fail the build.

This commit swaps the exit codes, so that now a 2 means non-verified PR and 1
designates an error.
2017-05-12 11:37:21 -07:00
..
build-creator.ts ci(aio): do not fail when re-deploying preview for the same PR/SHA 2017-04-13 11:26:21 +01:00
build-events.ts ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
build-verifier.ts ci(aio): do not deploy PR if preconditions not met 2017-03-07 18:24:45 -08:00
index-preverify-pr.ts ci(aio): correctly catch PR preview pre-verification errors 2017-05-12 11:37:21 -07:00
index-test.ts test(aio): fix e2e tests 2017-03-07 18:24:45 -08:00
index.ts fix(aio): do not hardcode the domain in preview link comments 2017-03-07 18:24:45 -08:00
upload-error.ts ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
upload-server-factory.ts fix(aio): create a proper commit link on preview comments (#15941) 2017-04-13 11:55:33 -07:00