public class ClassicUpload extends AbstractUpload
Modifier and Type | Class and Description |
---|---|
static class |
ClassicUpload.DescriptorImpl
Denotes this is an
AbstractUpload plugin |
AbstractUpload.UploadSpec
MAX_REMOTE_CREDENTIAL_EXPIRED_RETRIES, module
Constructor and Description |
---|
ClassicUpload(String bucket,
boolean sharedPublicly,
boolean forFailedJobs,
boolean showInline,
boolean stripPathPrefix,
String pathPrefix,
UploadModule module,
String pattern,
String bucketNameWithVars,
String sourceGlobWithVars)
Construct the classic upload implementation from the base properties
and the glob for matching files.
|
Modifier and Type | Method and Description |
---|---|
String |
getDetails()
Provide detail information summarizing this download for the GCS
upload report.
|
protected AbstractUpload.UploadSpec |
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. |
String |
getPattern()
The glob of files to upload, which potentially contains unresolved
symbols, such as $JOB_NAME and $BUILD_NUMBER.
|
all, annotateObject, forResult, getBucket, getDescriptor, getMetadata, getOrCreateBucket, getPathPrefix, getRelative, getStrippedFilename, isForFailedJobs, isSharedPublicly, isShowInline, perform
@DataBoundConstructor public ClassicUpload(String bucket, boolean sharedPublicly, boolean forFailedJobs, boolean showInline, boolean stripPathPrefix, @Nullable String pathPrefix, @Nullable UploadModule module, String pattern, @Deprecated @Nullable String bucketNameWithVars, @Deprecated @Nullable String sourceGlobWithVars)
public String getDetails()
getDetails
in class AbstractUpload
@Nullable protected AbstractUpload.UploadSpec getInclusions(hudson.model.AbstractBuild<?,?> build, hudson.FilePath workspace, hudson.model.TaskListener listener) throws UploadException
FilePath
s the core logic should upload.getInclusions
in class AbstractUpload
UploadException
for further details.
public String getPattern()
Copyright © 2016–2017. All rights reserved.