public class ClassicUpload extends AbstractUpload
Modifier and Type | Class and Description |
---|---|
static class |
ClassicUpload.DescriptorImpl
Denotes this is an
AbstractUpload plugin |
AbstractUpload.UploadSpec
module
Constructor and Description |
---|
ClassicUpload(String bucketNameWithVars,
boolean sharedPublicly,
boolean forFailedJobs,
UploadModule module,
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 |
getSourceGlobWithVars()
The glob of files to upload, which potentially contains unresolved
symbols, such as $JOB_NAME and $BUILD_NUMBER.
|
all, annotateObject, forResult, getBucketNameWithVars, getDescriptor, getMetadata, getOrCreateBucket, getRelative, isForFailedJobs, isSharedPublicly, perform
@DataBoundConstructor public ClassicUpload(String bucketNameWithVars, boolean sharedPublicly, boolean forFailedJobs, @Nullable UploadModule module, 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 getSourceGlobWithVars()
Copyright © 2004-2014. All Rights Reserved.