Commit d5f0cea
authored
JENKINS-46636 Fix dir() for older docker
https://issues.jenkins-ci.org/browse/JENKINS-46636
This works around the lack of --workdir for "docker exec" in versions earlier than 17.12.
It wraps an additional shell around the sh() command which issues a "cd" before delegating.1 parent 50ad50b commit d5f0cea
File tree
1 file changed
+2
-1
lines changed- src/main/java/org/jenkinsci/plugins/docker/workflow
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
0 commit comments