jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Gant
  • GANT-5

Gant doesn't return meaningful exit code

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Russel Winder added a comment - 17/Jul/07 1: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.

Show
Russel Winder added a comment - 17/Jul/07 1: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.
Hide
Permalink
Russel Winder added a comment - 29/Oct/07 5:22 AM

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

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

People

  • Assignee:
    Russel Winder
    Reporter:
    Kohsuke Kawaguchi
Vote (0)
Watch (0)

Dates

  • Created:
    17/Jul/07 12:20 PM
    Updated:
    29/Oct/07 5:22 AM
    Resolved:
    29/Oct/07 5:22 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.