Package jenkins.plugins.itemstorage.gcs
Class GCSUploadCallable
- All Implemented Interfaces:
FilePath.FileCallable<Void>,Serializable,ControllerToAgentFileCallable<Void>,org.jenkinsci.remoting.RoleSensitive
Uploads a single cache archive from the agent workspace to a GCS object using a resumable upload.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGCSUploadCallable(GCSClientHelper helper, String bucketName, String objectName) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
-
Constructor Details
-
GCSUploadCallable
-
-
Method Details
-
invoke
- Throws:
IOException
-
storage
protected com.google.cloud.storage.Storage storage()
-