Skip to content

Commit 05a9a84

Browse files
committed
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 <[email protected]>
1 parent 9c15b8c commit 05a9a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
if (!$?) { exit(1) }
191191
& git-sdk-64-minimal\usr\bin\bash.exe -lc @"
192192
mkdir -p artifacts &&
193-
eval \"`$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts | grep ^tar)\"
193+
eval \"`$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts 2>&1 | grep ^tar)\"
194194
"@
195195
if (!$?) { exit(1) }
196196
displayName: Bundle artifact tar

0 commit comments

Comments
 (0)