Feature Request: additional return codes for the exec builder

"Grzeslo, Krzysztof" <[email protected]> Wed, 15 Jun 2011 13:46:49 +0000
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <C77EDB62A0C6F54B8CB42052402D81F5055F1B@Ulm2-Exc1-MB1.p3-group.com>
Hello,

I would like to request a new feature be added to CruiseControl.
The feature ist to add other return codes to the exec builders. I build executables with Borland's bds.exe and it builds the executable succesful, but the build is failed anyway. CC Log says that the return code did not return 0. No additional information from bds.exe can be found in log.

I believe this should be implemented because I tried to change line 187 in main/src/net/sourceforge/cruisecontrol/builders/ExecBuilder.java to accept other return codes, but this changes return codes for all exec builders globally. 

I found on web that CC.net has this kind of functionality already:
http://confluence.public.thoughtworks.org/display/CCNET/Executable+Task
http://arcware.net/specify-multiple-success-exit-codes-with-cruisecontrol-net-1-4/

It is <successExitCodes> Tag. Unfortunaltely after doing some research of the original CC config and mailing list archive I could not find any workaround for this problem.

If you find this feature useful is it possible to add it as a downloadable patch to the existing version, before it is implemented in the new release?

I have windows XP SP3 and cruisecontrol 2.8.3 on this box.

Thanks and regards,
Krzysztof Grzeslo

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev