Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-385

SSH Job doesn´t return ExitCode of shell in case of error

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9.11, 1.10.7, 1.11.4
    • 1.9.12, 1.10.8, 1.11.5, 1.12
    • None

    Description

      Current Situation
      When the remote shell of an SSH Job in case of an error returns an ExitCode other than 1 the ExitCode of the SSH Job still shows the value 1 as its own ExitCode. The ExitCode of the remote shell is not considered.

      Desired Behavior
      When the remote shell of an SSH Job in case of an error returns an ExitCode other than 1 the ExitCode of the SSH Job should also consider the given value.

      Workaround

      • For JobScheduler release 1.11.4 store the attached .jar archive to the ./lib/patches directory of your JobScheduler Master installation and restart the Master instance.
      • As this fix is included with future releases please remove the .jar archive from the ./lib/patches folder when applying a future maintenance release.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            sp Santiago Aucejo Petzoldt
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: