Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: durable-task-plugin
-
Labels:
-
Environment:Windows 8.1
Jenkins 1.643
Workflow Plugin 1.12
-
Similar Issues:
Description
As first reported in JENKINS-30744 windows 'bat' workflow task hangs on the encoding of git branch names when these branches contain special characters (tested with gitflow naming convention that has '/' in the branch name).
The encoded path seems to create problems on windows when using 'bat'.
Any branch that has a slash in it for example ('feature/myfeature') will get an encoded path on windows like <workspace_path>/feature%2Fmyfeature@script and <workspace_path>/feature%2Fmyfeature.
When I apply the following workflow in a multibranch job in a root file 'Jenkinsfile', Jenkins hangs forever on the bat command
node { stage 'Checkout' checkout scm stage 'Build' bat "echo 'test'" }
When I add this same script on the 'master' branch everything is fine.
Attachments
Issue Links
- is related to
-
JENKINS-30744 multibranch issues if branch contains /
-
- Closed
-
- links to
Andy Neebel see
JENKINS-33456.