Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41035

Cannot browse workspaces of jobs using the cloudbees-folder-plugin

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            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

            ndeloof Nicolas De Loof added a comment - 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

            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.

            capf Carsten Pfeiffer added a comment - 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.
            aamerik Alexey Amerik added a comment - - edited

            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.

            aamerik Alexey Amerik added a comment - - edited 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.

            Here's the link to the pull request: https://github.com/jenkinsci/docker-plugin/pull/473

            capf Carsten Pfeiffer added a comment - Here's the link to the pull request: https://github.com/jenkinsci/docker-plugin/pull/473

            People

              ndeloof Nicolas De Loof
              capf Carsten Pfeiffer
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: