Class GCSDownloadCallable

java.lang.Object
jenkins.MasterToSlaveFileCallable<Void>
jenkins.plugins.itemstorage.gcs.GCSDownloadCallable
All Implemented Interfaces:
FilePath.FileCallable<Void>, Serializable, ControllerToAgentFileCallable<Void>, org.jenkinsci.remoting.RoleSensitive

public class GCSDownloadCallable extends MasterToSlaveFileCallable<Void>
Downloads a single cache archive from a GCS object to the agent workspace.
See Also:
  • Constructor Details

  • Method Details

    • invoke

      public Void invoke(File target, hudson.remoting.VirtualChannel channel) throws IOException
      Throws:
      IOException
    • storage

      protected com.google.cloud.storage.Storage storage()