jenkinsci / jenkinsci/docker-plugin
[JENKINS-63824] running linux type dockerNode under windows node section causes failure due to workspace ambiguity
- Dominant language
- Java
- Stars
- 498
- Forks
- 324
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 2
Description
we have to following code:
node(some_windows_machine_label)
{
dockerNode('some_linux_image')
{
// here we perform git checkout using the checkout method.
}
}
running the above code using version 1.2.0 of docker plugin works fine, and running it using the new version (1.2.1) fails due to some workspace ambiguity (suddenly the dockerNode is aware of the windows node workspace..
moving the dockerNode section outside the node section works perfectly, but it costs us a lot to change all the scripts we already have...
I'll try to provide logs with the error.
I don't see any reason for this change of behavior...
---
Originally reported by
amidar, imported from: running linux type dockerNode under windows node section causes failure due to workspace ambiguity
Raw content of original issue
we have to following code:
node(some_windows_machine_label)
{
dockerNode('some_linux_image')
{
// here we perform git checkout using the checkout method.
}
}running the above code using version 1.2.0 of docker plugin works fine, and running it using the new version (1.2.1) fails due to some workspace ambiguity (suddenly the dockerNode is aware of the windows node workspace..
moving the dockerNode section outside the node section works perfectly, but it costs us a lot to change all the scripts we already have...
I'll try to provide logs with the error.
I don't see any reason for this change of behavior...
environment
```
jenkins 2.249.1
docker plugin 1.2.1
```
Contributor guide
Assessment
This issue has not been assessed yet.