Issue Details (XML | Word | Printable)

Key: GANT-5
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Russel Winder
Reporter: Kohsuke Kawaguchi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Gant

Gant doesn't return meaningful exit code

Created: 17/Jul/07 12:20 PM   Updated: 29/Oct/07 05:22 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Russel Winder added a comment - 17/Jul/07 01:47 PM
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.


Russel Winder added a comment - 29/Oct/07 05:22 AM
Have had no feedback on the exit codes issues now so marking the issue resolved and closed.