Gant

Gant doesn't return meaningful exit code

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

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.

Activity

Hide
Russel Winder added a comment -

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.

Show
Russel Winder added a comment - 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.
Hide
Russel Winder added a comment -

Have had no feedback on the exit codes issues now so marking the issue resolved and closed.

Show
Russel Winder added a comment - Have had no feedback on the exit codes issues now so marking the issue resolved and closed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: