public class RundeckNotifier extends Notifier implements SimpleBuildStep
Notifier that runs a job on Rundeck (via the RundeckClientManager)| 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. |
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonBUILDERS, PUBLISHERS| Constructor and Description |
|---|
RundeckNotifier(String rundeckInstance,
String jobId,
String options,
String nodeFilters,
String tags,
Boolean shouldWaitForRundeckJob,
Boolean shouldFailTheBuild,
Boolean notifyOnAllStatus,
Boolean includeRundeckLogs,
Boolean tailLog,
String jobUser,
Secret jobPassword,
Secret jobToken) |
| Modifier and Type | Method and Description |
|---|---|
RundeckNotifier.RundeckDescriptor |
getDescriptor() |
Boolean |
getIncludeRundeckLogs() |
String |
getJobId() |
String |
getJobIdentifier() |
Secret |
getJobPassword() |
Secret |
getJobToken() |
String |
getJobUser()
optional non default rundeck user for actual job
|
String |
getNodeFilters() |
Boolean |
getNotifyOnAllStatus() |
String |
getOptions() |
String |
getPassword() |
Action |
getProjectAction(AbstractProject<?,?> project) |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getRundeckInstance() |
Boolean |
getShouldFailTheBuild() |
Boolean |
getShouldWaitForRundeckJob() |
String |
getTag() |
String |
getTags() |
String[] |
getTagsList() |
Boolean |
getTailLog() |
String |
getToken() |
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
|
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
Object |
readResolve() |
all, getProjectAction, prebuildgetProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperform, perform, requiresWorkspacegetProjectActions, perform, prebuild@DataBoundConstructor public RundeckNotifier(String rundeckInstance, String jobId, String options, String nodeFilters, String tags, Boolean shouldWaitForRundeckJob, Boolean shouldFailTheBuild, Boolean notifyOnAllStatus, Boolean includeRundeckLogs, Boolean tailLog, String jobUser, Secret jobPassword, Secret jobToken)
public Object readResolve()
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws IOException
perform in interface SimpleBuildStepIOExceptionpublic Action getProjectAction(AbstractProject<?,?> project)
getProjectAction in interface BuildStepgetProjectAction in class BuildStepCompatibilityLayerpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class Publisherpublic BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildSteppublic String getRundeckInstance()
public String getJobIdentifier()
public String getJobId()
public String getOptions()
public String getNodeFilters()
public String getTag()
public String getTags()
public String[] getTagsList()
public Boolean getShouldWaitForRundeckJob()
public Boolean getShouldFailTheBuild()
public Boolean getNotifyOnAllStatus()
public Boolean getIncludeRundeckLogs()
public Boolean getTailLog()
public String getJobUser()
public Secret getJobPassword()
public Secret getJobToken()
public String getPassword()
public String getToken()
public RundeckNotifier.RundeckDescriptor getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class NotifierCopyright © 2016–2026. All rights reserved.