From 8365c37b98906f2d1a121e9e0ddfb99342958b35 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 18 Mar 2020 12:59:50 +0100 Subject: [PATCH] ci: prevent Visual Studio Build failing due to stderr Under certain circumstances, seemingly timing-related, it would appear that the `Bundle artifact tar` step triggers a rebuild of `GIT-VERSION-FILE` (which actually does not change, obviously) and reports that to `stderr`. Traditionally, PowerShell interprets _any_ output to `stderr` as a sign that something failed. Let's teach our Azure Pipeline to _not_ fail, simply by suppressing that output. Signed-off-by: Johannes Schindelin --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 675c3a43c9..cd12a3be46 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -190,7 +190,7 @@ jobs: if (!$?) { exit(1) } & git-sdk-64-minimal\usr\bin\bash.exe -lc @" mkdir -p artifacts && - eval \"`$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts | grep ^tar)\" + eval \"`$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts 2>&1 | grep ^tar)\" "@ if (!$?) { exit(1) } displayName: Bundle artifact tar