cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jackylv
Level 4

build using IA command line, what is the return value of ERRORLEVEL

Hi all,

I am using a bat file to build my project, call "build.exe myproject.iap_xml".

what is the value of ERRORLEVEL will this command line return?

Or, how can I notice that the build is successful or failed?

thanks.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Please see the help topic Build Tools > Exit Codes.
0 Kudos
jackylv
Level 4

RobertDickau wrote:
Please see the help topic Build Tools > Exit Codes.


thanks Robert,

I have read that help file and try to catch the exit code in a batch file by using ERRORLEVEL.

build.exe myProject.iap_xml
echo.%ERRORLEVEL%

I saw from my command window, the exit code return by IA should be 0 (the last line from IA "EXITING: 0"), but the batch file echo return 4862 for the ERRORLEVEL.

Is there any mistake I took here? thanks.
0 Kudos