fart.exe , , .
fart.exe % errorlevel% . 1, % errorlevel%, 1, Jenkins.
, :
REM standard "fart.exe" error-handling block; 9009 (missing program) is bad, anything else above 0 is OK and should be reset to 0 for standard handling
if ERRORLEVEL 9009 (
REM do nothing
) else (
if ERRORLEVEL 1 CMD /C EXIT 0
)
REM ensure that we exit with the current errorlevel context...
exit %errorlevel%
ECHO OFF fart.exe % errorlevel% 0, , , , .
, -!