Skip to content

Commit 2e96dc7

Browse files
committed
[devops] Make the test script fail on failures.
1 parent dc2a090 commit 2e96dc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/devops/automation/scripts/run-remote-windows-tests.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ if ("$Env:TESTFILTER" -eq "") {
2626
"--logger:trx;LogFileName=$Env:BUILD_SOURCESDIRECTORY/$Env:BUILD_REPOSITORY_TITLE/jenkins-results/windows-remote-dotnet-tests.trx" `
2727
"--logger:html;LogFileName=$Env:BUILD_SOURCESDIRECTORY/$Env:BUILD_REPOSITORY_TITLE/jenkins-results/windows-remote-dotnet-tests.html" `
2828
"-bl:$Env:BUILD_SOURCESDIRECTORY/$Env:BUILD_REPOSITORY_TITLE/tests/dotnet/Windows/windows-remote-dotnet-tests.binlog"
29+
30+
exit $LASTEXITCODE

0 commit comments

Comments
 (0)