Package | Description |
---|---|
com.google.jenkins.plugins.storage |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUpload.annotateObject(com.google.api.services.storage.model.StorageObject object,
hudson.model.TaskListener listener)
This hook is intended to give implementations the opportunity to further
annotate the
StorageObject with metadata before uploading it to
cloud storage. |
protected abstract AbstractUpload.UploadSpec |
AbstractUpload.getInclusions(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Implementations override this interface in order to surface the set of
FilePath s the core logic should upload. |
protected AbstractUpload.UploadSpec |
StdoutUpload.getInclusions(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Implementations override this interface in order to surface the set of
FilePath s the core logic should upload. |
protected AbstractUpload.UploadSpec |
ClassicUpload.getInclusions(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Implementations override this interface in order to surface the set of
FilePath s the core logic should upload. |
protected AbstractUpload.UploadSpec |
AbstractBucketLifecycleManager.getInclusions(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Implementations override this interface in order to surface the set of
FilePath s the core logic should upload. |
protected com.google.api.services.storage.model.Bucket |
AbstractUpload.getOrCreateBucket(com.google.api.services.storage.Storage service,
com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials,
com.google.jenkins.plugins.util.Executor executor,
String bucketName)
Fetches or creates an instance of the bucket with the given name with the
specified storage service.
|
protected com.google.api.services.storage.model.Bucket |
AbstractBucketLifecycleManager.getOrCreateBucket(com.google.api.services.storage.Storage service,
com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials,
com.google.jenkins.plugins.util.Executor executor,
String bucketName)
This overrides the core implementation to provide additional hooks for
decorating storage objects with lifecycle annotations.
|
static String |
AbstractUpload.getRelative(hudson.FilePath include,
hudson.FilePath workspace)
Compute the relative path of the given file inclusion, relative to the
given workspace.
|
com.google.api.services.storage.Storage |
UploadModule.getStorageService(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials) |
void |
AbstractUpload.perform(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials,
hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
The main action entrypoint of this extension.
|
Copyright © 2004-2014. All Rights Reserved.