From 234b52eafc58fc2221b5094e4267029702dc1d63 Mon Sep 17 00:00:00 2001 From: Jim Borden Date: Wed, 15 Jan 2025 08:27:04 +0900 Subject: [PATCH] Update jenkins_win.ps1 to show exit code --- jenkins/jenkins_win.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/jenkins_win.ps1 b/jenkins/jenkins_win.ps1 index e417ffd11..c416a0d1c 100644 --- a/jenkins/jenkins_win.ps1 +++ b/jenkins/jenkins_win.ps1 @@ -37,7 +37,7 @@ try { Set-Location LiteCore\tests\Debug .\CppTests -r list if($LASTEXITCODE -ne 0) { - Write-Host "C++ tests failed!" -ForegroundColor Red + Write-Host "C++ tests failed (exit code: $LASTEXITCODE)!" -ForegroundColor Red exit 1 } @@ -45,7 +45,7 @@ try { Set-Location ..\..\..\C\tests\Debug .\C4Tests -r list if($LASTEXITCODE -ne 0) { - Write-Host "C tests failed!" -ForegroundColor Red + Write-Host "C tests failed (exit code: $LASTEXITCODE)!" -ForegroundColor Red exit 1 } } finally {