Package | Description |
---|---|
com.google.jenkins.plugins.storage | |
com.google.jenkins.plugins.storage.util |
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.Run<?,?> run,
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.Run<?,?> run,
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.Run<?,?> run,
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.Run<?,?> run,
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.
|
void |
AbstractUpload.perform(String credentialsId,
hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
This method allows the old signature for compatibility reasons.
|
void |
AbstractUpload.perform(String credentialsId,
hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
The main action entry point of this extension.
|
Modifier and Type | Method and Description |
---|---|
static String |
StorageUtil.getRelative(hudson.FilePath include,
hudson.FilePath workspace)
Compute the relative path of the given file inclusion, relative to the given workspace.
|
Copyright © 2016–2020. All rights reserved.