Commit 75cd83d
committed
Chown workspace for non-root containers
When running jobs on Kubernetes containers instead of the Jenkins built-in node,
containers running as a non-root user have problems cleaning the workspace.
Run chown on jnlp so the workspace matches runAsUser/runAsGroup before forceCleanupWS.
Signed-off-by: Noam Tsemah <ntsemah@nvidia.com>1 parent 839904f commit 75cd83d
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
162 | 174 | | |
163 | 175 | | |
164 | 176 | | |
| |||
939 | 951 | | |
940 | 952 | | |
941 | 953 | | |
| 954 | + | |
942 | 955 | | |
943 | 956 | | |
944 | 957 | | |
| |||
0 commit comments