Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Gant doesn't seem to return any meaningful exit code. Regardless of whether the build succeeded or failed, or even if invalid target is given, the exit code is 0.
It's desirable for the exit code to indicate the status. This is currently blocking the Hudson Gant plugin, as builds are always reported as successful.
I have committed a first cut at at least doing something sensible in the obvious cases.
I am fairly certain that there are cases where the wrong return code will be returned but the current test cases do not catch them.