• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Linux
      Jenkins 2.60.2
      The latest Pipeline plug-ins as of 2017-07-09

      After one of the recent updates to pipeline plug-ins the process tree killer always kills all processes even if the BUILD_ID (as described in https://wiki.jenkins.io/display/JENKINS/ProcessTreeKiller) is changed. This is a serious regression because some of our build jobs stopped working.

      The following pipeline script can be used to reproduce the problem:

      node('master') {
        sh '''BUILD_ID="dont-kill-me bla/blub" sleep 60 &'''
      }
      
      

      The sleep process is killed immediately when the job finishes. The problem only occurs in Pipeline jobs, freestyle jobs still work as expected, i.e. the sleep process continues running for 60 seconds.

          [JENKINS-46089] ProcessTreeKiller broken in pipeline jobs

          Thorsten Meinl created issue -
          Andrew Bayer made changes -
          Component/s New: workflow-durable-task-step-plugin [ 21715 ]
          Component/s Original: pipeline [ 21692 ]
          Sam Van Oort made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Georg Friedrich made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-28182 [ JENKINS-28182 ]

            Unassigned Unassigned
            sithmein Thorsten Meinl
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: