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,
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 AbstractUpload.UploadSpec |
StdoutUpload.getInclusions(Run<?,?> run,
FilePath workspace,
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(Run<?,?> run,
FilePath workspace,
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(Run<?,?> run,
FilePath workspace,
TaskListener listener)
Implementations override this interface in order to surface the set of
FilePath s the
core logic should upload. |
protected abstract AbstractUpload.UploadSpec |
AbstractUpload.getInclusions(Run<?,?> run,
FilePath workspace,
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 |
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.
|
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.
|
void |
AbstractUpload.perform(String credentialsId,
AbstractBuild<?,?> build,
TaskListener listener)
This method allows the old signature for compatibility reasons.
|
void |
AbstractUpload.perform(String credentialsId,
Run<?,?> run,
FilePath workspace,
TaskListener listener)
The main action entry point of this extension.
|
Modifier and Type | Method and Description |
---|---|
static String |
StorageUtil.getRelative(FilePath include,
FilePath workspace)
Compute the relative path of the given file inclusion, relative to the given workspace.
|
Copyright © 2016–2019. All rights reserved.