Automie Exit Codes

Hi,

     Is it possible to get a project to exit with a different exit code than 1 when the BUILD FAILS?

Brian

Hi Brian,

The exit codes for Automise are controlled internally, and are known entities. For example an error code of 2 is “Invalid Args”. We could in the future allow for user generated exit codes, however this puts us in a tricky spot when extending the list of known codes.

Another way of doing this would be to write out an ini file, xml, or JSON (whichever works best in your environment) of the variable values your interested on completion of the script. These could then be read up by another application or power shell script to take action based on that result.

Hi Jason,

                 Ok Thanks. Would be really useful especially when using with batch scheduling tools such as CA Autosys, BMC Control-M and so on. Hopefully something for inclusion in a lter relaese maybe.

Cheers

Brian