Details

    • Type: Bug
    • Status: In Review (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      any
    • Similar Issues:

      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

            markusb Markus Breuer created issue -
            deepchip Martin d'Anjou made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            deepchip Martin d'Anjou made changes -
            Link This issue is related to JENKINS-3105 [ JENKINS-3105 ]
            owenmehegan Owen Mehegan made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147947 ] JNJira + In-Review [ 177041 ]
            danielbeck Daniel Beck made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            robinjarry Robin Jarry made changes -
            Assignee Robin Jarry [ robinjarry ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/jenkins/pull/3414 (Web Link)" [ 21430 ]
            karlparry 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

              ]
            batmat Baptiste Mathus made changes -
            Summary gracefull job termination graceful job termination
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-55106 [ JENKINS-55106 ]
            owenmehegan Owen Mehegan made changes -
            Assignee Robin Jarry [ robinjarry ]
            slonopotamusorama Marat Radchenko made changes -
            Link This issue relates to JENKINS-59152 [ JENKINS-59152 ]

              People

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

                Dates

                • Created:
                  Updated: