Status: Closed (View Workflow)
MappedFsWorkspaceBrowser uses this to calculate the workspace directory of a job:
new FilePath(getFile(new File(action.remoteFsMapping), "workspace", job.getName()))
This works fine for toplevel jobs, but not for jobs whose directory is one or more sub directories below the "workspace" directory.
- relates to
JENKINS-47576 Use volume for agent workspace and mount in a temporary container as "offline browser"
This issue was a real time sink for us. Thank you very much for filing this bug and for the PR! Hoping for this to get merged quickly.
Any update on this? Should we ping someone else to get this merged? There's also JENKINS-36919 with a useful patch waiting to get merged.
PR #473 is far from being enough to get this feature working correctly.
This mechanism assumes a local docker daemon, a better approach would be to use a volume and run a temporary container with this volume for file browsing.
So this is a larger issue
Here's the link to the pull request: https://github.com/jenkinsci/docker-plugin/pull/473