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

Permit VirtualFile to serve external file contents

      Extracting a comment from JENKINS-25224:

      VirtualFile as written is not quite flexible enough, because it assumes that the master should be in charge of retrieving file contents (as bytestreams) and serving them to the client. What we found was necessary also for making an ArtifactManager based on, say, S3 was to allow VirtualFile to optionally designate a replacement URL that would be served directly to clients. (DirectoryBrowserSupport would need to call the new method.)

          [JENKINS-49635] Permit VirtualFile to serve external file contents

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/model/DirectoryBrowserSupport.java
          core/src/main/java/jenkins/util/VirtualFile.java
          test/src/test/java/hudson/model/DirectoryBrowserSupportTest.java
          http://jenkins-ci.org/commit/jenkins/3f01a774662d0e6e3d4f644e6a3197009f0c7b14
          Log:
          JENKINS-49635 Defining new VirtualFile methods to better support external artifact storage.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/DirectoryBrowserSupport.java core/src/main/java/jenkins/util/VirtualFile.java test/src/test/java/hudson/model/DirectoryBrowserSupportTest.java http://jenkins-ci.org/commit/jenkins/3f01a774662d0e6e3d4f644e6a3197009f0c7b14 Log: JENKINS-49635 Defining new VirtualFile methods to better support external artifact storage.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          http://jenkins-ci.org/commit/copyartifact-plugin/422eea35d39c985072a4b7e40604bd476a7ec454
          Log:
          JENKINS-49635 Permitting actual copying to take place entirely on the agent.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/copyartifact-plugin/422eea35d39c985072a4b7e40604bd476a7ec454 Log: JENKINS-49635 Permitting actual copying to take place entirely on the agent.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: