public class StdoutUpload extends AbstractUpload
BuildEventListener
to
continuously upload the build log at build waypoints.Modifier and Type | Class and Description |
---|---|
static class |
StdoutUpload.DescriptorImpl
Denotes this is an
AbstractUpload plugin |
AbstractUpload.UploadSpec
module
Constructor and Description |
---|
StdoutUpload(String bucketNameWithVars,
boolean sharedPublicly,
boolean forFailedJobs,
UploadModule module,
String logName)
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.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 |
getLogName()
The name to give the file we upload for the build log.
|
all, annotateObject, getBucketNameWithVars, getDescriptor, getMetadata, getOrCreateBucket, getRelative, isForFailedJobs, isSharedPublicly, perform
@DataBoundConstructor public StdoutUpload(String bucketNameWithVars, boolean sharedPublicly, boolean forFailedJobs, @Nullable UploadModule module, String logName)
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.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.
Copyright © 2004-2014. All Rights Reserved.