JoderCoder
Level 8

Catching standalone build errors

I am using standalone build engine to build the ism files into msm and msi files. Is there a way to catch the errors occurred during the build?

Thanks.
Labels (1)
0 Kudos
2 Replies
Holger_G
Level 10

What do you want to catch exactly? The automation interface includes some object members like BuildErrorCount and BuildWarningCount.
0 Kudos
JoderCoder
Level 8

BuildErrorCount is actually enough.. I want to return some error code if the build is returning some errors. So I can use the BuildErrorCount.

Also, is it possible to retrieve the errors from the automation script? I know the errors are written to the build logs but is it also readable from the automation interface. If yes, I would print them in our master build logs.

Thanks.
0 Kudos