graceful job termination

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 2.141

      Using the freestyle projects to execute bash shell scripts work fine. But cancelling a jenkins job seems to use SIGKILL. In this way the script cannot perform cleanup operations and free resources.

      SIGKILL cannot be handled by shell

      SIGINT/SIGTERM are not used by jenkins

      Preferred: SIGINT -> wait 5 seconds -> SIGKILL

            Assignee:
            Unassigned
            Reporter:
            Markus Breuer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: