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

graceful job termination

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • any
    • 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

            Unassigned Unassigned
            markusb Markus Breuer
            Votes:
            38 Vote for this issue
            Watchers:
            52 Start watching this issue

              Created:
              Updated:
              Resolved: