• 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

          [JENKINS-17116] graceful job termination

          Markus Breuer created issue -
          Martin d'Anjou made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Martin d'Anjou made changes -
          Link New: This issue is related to JENKINS-3105 [ JENKINS-3105 ]
          Owen Mehegan made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147947 ] New: JNJira + In-Review [ 177041 ]
          Daniel Beck made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Robin Jarry made changes -
          Assignee New: Robin Jarry [ robinjarry ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/3414 (Web Link)" [ 21430 ]
          Karl Parry made changes -
          Comment [ Final Edit - our issue was identified not related to the TERM kill but a rogue jenkins triggering a duplicate job

            ]

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

              Created:
              Updated:
              Resolved: