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

Pipeline hangs if process killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • durable-task-plugin
    • None

      We have observed that if a powershell process launched by a Jenkins pipeline is killed, the pipeline execution will hang indefinitely or a job timeout is reached.

      To reproduce, you can create a pipeline that runs a powershell script that logs something, sleeps, then logs something else. If the powershell process on the agent is killed during the sleep, you'll see the job hang and never log the second log. 

            Unassigned Unassigned
            butter1484 Brady Shober
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: