Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-395

Exit code 0 when org.jberet.se.Main failed to start a job

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0.Beta7
    • Fix Version/s: None
    • Component/s: jberet-se
    • Labels:
      None

      Description

      when org.jberet.se.Main failed to start a job due to missing applicatino args, the exit status should be non-zero to indicate the failure.

      This is how it currently shows:

      /Users/cfang/dev/jsr352/jberet-se > java -cp "$HOME/jberet/lib/*:target/test-classes/" org.jberet.se.Main
      Mar 19, 2018 9:49:23 AM org.jberet.se.Main usage
      ERROR: JBERET050501: Usage:
      java -classpath ... [other java options] org.jberet.se.Main jobXMLName [jobParameter1=value1 jobParameter2=value2 ...]
      The following application args are invalid: []
      /Users/cfang/dev/jsr352/jberet-se > echo $?
      0

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cfang Cheng Fang
                Reporter:
                cfang Cheng Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: