angular/aio/aio-builds-setup/dockerbuild/scripts-js/lib/preview-server
George Kalpakas aea7b98a56 fix(docs-infra): do not detect a running job as failed (#45948)
Previously, the preview server would incorrectly identify a running
`aio_preview` CI job as failed and therefore skip creating a preview.
This happened because it only checked whether the job's status is
`success`, failing to account for the fact that the job would have a
`running` status.
(This bug was accidentally introduced in #45934.)

This commit avoids the problem by getting rid of the job status check
altogether. This check does not offer any benefit, since the CI job will
always be in a `running` state (i.e. neither successfully completed nor
failed).

PR Close #45948
2022-05-12 09:02:03 -07:00
..
build-creator.ts refactor(docs-infra): use mockable logger (#25671) 2018-09-26 15:26:19 -07:00
build-events.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
build-retriever.ts fix(docs-infra): do not detect a running job as failed (#45948) 2022-05-12 09:02:03 -07:00
build-verifier.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
index.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
preview-error.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
preview-server-factory.ts fix(docs-infra): do not detect a running job as failed (#45948) 2022-05-12 09:02:03 -07:00
utils.ts build(docs-infra): upgrade all JS dependencies to latest versions (#36837) 2020-05-05 17:46:45 -07:00