Verifying if PBAutoBuild is successful
After executing the PBAutoBuild220.exe file and the build file,
you can check if the execution is successful via the Windows
command errorlevel:
-
errorlevel = 0 indicates the process was
successful. -
errorlevel = 1 indicates the process encountered an
error.
For example, you can write scripts like below to check the
execution result:
|
1 2 3 4 5 6 7 |
Echo off PBAutoBuild220.exe /f "D:PB2022SalesDemosalesdemo_pbnative.json" /l Log_PBBuild.log /le Log_PBError.log If %ERRORLEVEL% == 0 ( echo Run PBAutoBuild successfully. ) Else ( echo Failed to run PBAutoBuild, Errorlevel is %ERRORLEVEL%. ) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest