when using a custom working dir for a specific container, the workspace is mounted under this workingdir.
Unfortunately, when running a shell script within this container, it runs by default using the workspace used for the POD (home/jenkins/agent/workspace)
The effect is that the shell script stalls the build and then times out.
Use case to reproduce : https://github.com/hypnoce/kubernetes-plugin/commit/5382f88cfc7f8c1a65b4397b903d7f813cff5371
There are several options to fix this.
What do you think ?
|Field||Original Value||New Value|
|Remote Link||This issue links to "PR #610 (Web Link)" [ 23800 ]|
|Assignee||Narayanan Singaram [ narayanan ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||In Review [ 10005 ]|
|Comment||[ This Jira is a regression. It used to work on the 1.17.3 version. ]|
|Resolution||Fixed [ 1 ]|
|Status||In Review [ 10005 ]||Resolved [ 5 ]|