Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-2167

Ignore shell jobs return values when being killed

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.2
    • None
    • None

    Description

      Current behavior

      • Shell jobs may write return values to a file provided via the JS7_RETURN_VALUES environment variable.
      • When the job is killed (maybe due to timeout) while the file is being written, the return values may be incomplete or inconsistent.

      Desired behavior

      • The return values of a killed shell job must be ignored.
      • Only $returnCode is returned.
      • Internal Java jobs are not affected because they are in control of results.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              jz Joacim Zschimmer
              Andreas Püschel Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: