public class RundeckNotifier
extends hudson.tasks.Notifier
Notifier that runs a job on Rundeck (via the RundeckClient)| Modifier and Type | Class and Description |
|---|---|
static class |
RundeckNotifier.RundeckDescriptor |
static class |
RundeckNotifier.RundeckExecutionBuildBadgeAction
BuildBadgeAction used to display a Rundeck icon + a link to the Rundeck execution page, on the Jenkins
build history and build result page. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
RundeckNotifier(String rundeckInstance,
String jobId,
String options,
String nodeFilters,
String tags,
Boolean shouldWaitForRundeckJob,
Boolean shouldFailTheBuild,
Boolean includeRundeckLogs,
Boolean tailLog) |
| Modifier and Type | Method and Description |
|---|---|
RundeckNotifier.RundeckDescriptor |
getDescriptor() |
Boolean |
getIncludeRundeckLogs() |
String |
getJobId() |
String |
getJobIdentifier() |
String |
getNodeFilters() |
String |
getOptions() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRundeckInstance() |
Boolean |
getShouldFailTheBuild() |
Boolean |
getShouldWaitForRundeckJob() |
String |
getTag() |
String[] |
getTags() |
Boolean |
getTailLog() |
boolean |
needsToRunAfterFinalized()
If we should not fail the build, we need to run after finalized, so that the result of "perform" is not used by
Jenkins
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Object |
readResolve() |
getProjectActions, perform, prebuildpublic Object readResolve()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public String getRundeckInstance()
public String getJobIdentifier()
public String getJobId()
public String getOptions()
public String getNodeFilters()
public String getTag()
public String[] getTags()
public Boolean getShouldWaitForRundeckJob()
public Boolean getShouldFailTheBuild()
public Boolean getIncludeRundeckLogs()
public Boolean getTailLog()
public RundeckNotifier.RundeckDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.NotifierCopyright © 2004-2016. All Rights Reserved.