Update logging to stop masking return code (#11231)
This commit is contained in:
parent
e727101957
commit
65c8e1f5a0
|
|
@ -1,4 +1,6 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL
|
||||
PowerShell -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; try { & '%~dp0build.ps1' %*; exit $LASTEXITCODE } catch { write-host $_; exit 1 }"
|
||||
ECHO build.cmd completed
|
||||
SET exit_code=%ERRORLEVEL%
|
||||
ECHO build.cmd completed
|
||||
EXIT /b %exit_code%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
@ECHO OFF
|
||||
SET RepoRoot=%~dp0..\..
|
||||
%RepoRoot%\build.cmd -ci -all -pack -sign %*
|
||||
ECHO cibuild.cmd completed
|
||||
SET exit_code=%ERRORLEVEL%
|
||||
ECHO build.cmd completed
|
||||
EXIT /b %exit_code%
|
||||
|
|
|
|||
Loading…
Reference in New Issue