public class BlobStorePublisher
extends hudson.tasks.Recorder
implements hudson.model.Describable<hudson.tasks.Publisher>
Modifier and Type | Class and Description |
---|---|
static class |
BlobStorePublisher.DescriptorImpl
Descriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static BlobStorePublisher.DescriptorImpl |
DESCRIPTOR |
Constructor and Description |
---|
BlobStorePublisher(String profileName,
List<BlobStoreEntry> entries)
Create a new Blobstore publisher for the cofigured profile identified by profileName
|
Modifier and Type | Method and Description |
---|---|
List<BlobStoreEntry> |
getEntries()
Get list of entries to be uploaded.
|
String |
getName() |
BlobStoreProfile |
getProfile() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected void |
log(PrintStream logger,
String message) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Perform the build step of uploading the configured file entries to the blobstore.
|
void |
setName(String profileName) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, prebuild
@Extension public static final BlobStorePublisher.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public BlobStorePublisher(String profileName, List<BlobStoreEntry> entries)
profileName
- - the name of the configured profile namepublic List<BlobStoreEntry> getEntries()
public BlobStoreProfile getProfile()
public String getName()
public void setName(String profileName)
protected void log(PrintStream logger, String message)
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- - reference to curerent build.launcher
- - Launcher
listener
- - BuildListener
InterruptedException
IOException
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2004-2015. All Rights Reserved.