public class StdoutUpload extends AbstractUpload
Modifier and Type | Class and Description |
---|---|
static class |
StdoutUpload.DescriptorImpl
Denotes this is an
AbstractUpload plugin |
AbstractUpload.UploadSpec
MAX_REMOTE_CREDENTIAL_EXPIRED_RETRIES, module
Constructor and Description |
---|
StdoutUpload(String bucket,
UploadModule module,
String logName,
String bucketNameWithVars)
Construct the Upload with the stock properties, and the additional
information about how to name the build log file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
forResult(hudson.model.Result result)
Determine whether we should upload the pattern for the given
build result.
|
String |
getDetails()
Provide detail information summarizing this download for the GCS
upload report.
|
protected AbstractUpload.UploadSpec |
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. |
String |
getLogName()
The name to give the file we upload for the build log.
|
all, annotateObject, getBucket, getDescriptor, getMetadata, getOrCreateBucket, getPathPrefix, isForFailedJobs, isSharedPublicly, isShowInline, perform, perform, setForFailedJobs, setPathPrefix, setSharedPublicly, setShowInline
@DataBoundConstructor public StdoutUpload(@Nullable String bucket, @Nullable UploadModule module, String logName, @Deprecated @Nullable String bucketNameWithVars)
public String getLogName()
public String getDetails()
getDetails
in class AbstractUpload
public boolean forResult(hudson.model.Result result)
forResult
in class AbstractUpload
@Nullable protected AbstractUpload.UploadSpec getInclusions(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.model.TaskListener listener) throws UploadException
FilePath
s the core logic should upload.getInclusions
in class AbstractUpload
UploadException
for further details.
Copyright © 2016–2017. All rights reserved.