Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: durable-task-plugin
-
Labels:
-
Environment:Windows Server 2012
-
Similar Issues:
-
Epic Link:
Description
I have Jenkins slave nodes configured on Windows Server 2012 with a very simple pipeline script:
node('js-win') { stage 'Checkout' checkout scm stage 'Build' bat 'dir' }
At the end of the script, from the Console output, it would just spin and hang after listing all the files.
Attachments
Issue Links
- duplicates
-
JENKINS-28759 Batch steps on slaves randomly hang when complete
-
- Open
-
- is related to
-
JENKINS-34150 Pipeline Batch hangs
-
- Closed
-
- relates to
-
JENKINS-59152 Jenkins fails to properly abort "bat" step
-
- Resolved
-
I tested it again with local Windows 2012 R2 and it worked fine. However, when it's configured on ec2 using WinRM, the process would never exit.
If slave is conneted using JNLP, the process exits fine.