diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-01-29 17:19:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-29 20:26:46 +0300 |
commit | 6141a2edc9aa137d7c44a24791e50221c2ed8a5e (patch) | |
tree | ff8fc0c09a519182108bc719df8a2ccd793eca66 /ci/print-test-failures.sh | |
parent | 222319081515f9f6a4c699bd3a406f181a6ddc3b (diff) |
ci/lib.sh: add support for Azure Pipelines
This patch introduces a conditional arm that defines some environment
variables and a function that displays the URL given the job id (to
identify previous runs for known-good trees).
Because Azure Pipeline's macOS agents already have git-lfs and gettext
installed, we can leave `BREW_INSTALL_PACKAGES` empty (unlike in
Travis' case).
Note: this patch does not introduce an Azure Pipelines definition yet;
That is left for the next patch.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/print-test-failures.sh')
-rwxr-xr-x | ci/print-test-failures.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/print-test-failures.sh b/ci/print-test-failures.sh index cf321b474d..e688a26f0d 100755 --- a/ci/print-test-failures.sh +++ b/ci/print-test-failures.sh @@ -41,6 +41,11 @@ do case "$CI_TYPE" in travis) ;; + azure-pipelines) + mkdir -p failed-test-artifacts + mv "$trash_dir" failed-test-artifacts + continue + ;; *) echo "Unhandled CI type: $CI_TYPE" >&2 exit 1 |