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

graceful job termination

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None
    • any
    • 2.141

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: