Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29214

Allow user to specify maximum job return code


    • Similar Issues:


      Currently, the plugin submits a job to JES and checks for the job return code (max rc). If the return code is not zero, the plugin considers the job to have failed.

      In real-life, non-zero return-codes do no necessarily mean that the jobs has failed. RC=4 (WARN) is usually considered fine, too. Under certain circumstances, even RC=8 may be considered fine (e.g. in delete steps when the dataset to be deleted does not exist).

      To cope with these custom situations, the Submit JCL step should provide a way to specify the maximum return code which should be considered successful. Example: A max RC of 4 would mean that any job return code lower than or equal to 4 should be considered success.



          mesa Metin Savignano created issue -
          candiduslynx Alexander Shcherbakov made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          mesa Metin Savignano made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          candiduslynx Alexander Shcherbakov made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 164083 ] JNJira + In-Review [ 208947 ]


            • Assignee:
              candiduslynx Alexander Shcherbakov
              mesa Metin Savignano
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: