Package jenkins.plugins.itemstorage.gcs
Class GCSProfile
java.lang.Object
jenkins.plugins.itemstorage.gcs.GCSProfile
Reusable operations against a GCS bucket. Metadata operations (exists/delete/rename) run on the
controller; the byte transfers (upload/download) are dispatched to the agent via
FilePath
callables.
Modelled on the S3 extension's S3Profile.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanvoidvoid
-
Method Details
-
upload
public void upload(String bucketName, String objectName, FilePath source) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
download
public void download(String bucketName, String objectName, FilePath target) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
exists
-
delete
-
rename
-