|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.maven.RedeployPublisher
public class RedeployPublisher
Publisher for MavenModuleSetBuild to deploy artifacts
after a build is fully succeeded.
| Nested Class Summary | |
|---|---|
static class |
RedeployPublisher.DescriptorImpl
|
static class |
RedeployPublisher.WrappedArtifactRepository
|
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
BuildStep.PublisherList |
| Field Summary | |
|---|---|
boolean |
evenIfUnstable
|
String |
id
Repository ID. |
boolean |
uniqueVersion
|
String |
url
Repository URL to deploy artifacts to. |
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
RedeployPublisher(String id,
String url,
boolean uniqueVersion)
For backward compatibility |
|
RedeployPublisher(String id,
String url,
boolean uniqueVersion,
boolean evenIfUnstable)
|
|
| Method Summary | |
|---|---|
protected MavenAbstractArtifactRecord |
getAction(AbstractBuild<?,?> build)
Obtains the MavenAbstractArtifactRecord that we'll work on. |
protected List<MavenAbstractArtifactRecord> |
getActions(AbstractBuild<?,?> build,
BuildListener listener)
|
BuildStepMonitor |
getRequiredMonitorService()
|
protected Result |
getTreshold()
|
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
|
| Methods inherited from class hudson.tasks.Recorder |
|---|
getDescriptor |
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
|---|
getProjectAction, getProjectActions, prebuild |
| Field Detail |
|---|
public final String id
public final String url
public final boolean uniqueVersion
public final boolean evenIfUnstable
| Constructor Detail |
|---|
public RedeployPublisher(String id,
String url,
boolean uniqueVersion)
@DataBoundConstructor
public RedeployPublisher(String id,
String url,
boolean uniqueVersion,
boolean evenIfUnstable)
| Method Detail |
|---|
public boolean perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
throws InterruptedException,
IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedException
IOExceptionprotected MavenAbstractArtifactRecord getAction(AbstractBuild<?,?> build)
MavenAbstractArtifactRecord that we'll work on.
This allows promoted-builds plugin to reuse the code for delayed deployment.
protected List<MavenAbstractArtifactRecord> getActions(AbstractBuild<?,?> build,
BuildListener listener)
public BuildStepMonitor getRequiredMonitorService()
protected Result getTreshold()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||