public class ExecuteDslScripts
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecuteDslScripts.DescriptorImpl |
static class |
ExecuteDslScripts.ScriptLocation |
| Constructor and Description |
|---|
ExecuteDslScripts(ExecuteDslScripts.ScriptLocation scriptLocation,
boolean ignoreExisting,
RemovedJobAction removedJobAction) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
RemovedJobAction |
getRemovedJobAction() |
java.lang.String |
getScriptText() |
java.lang.String |
getTargets() |
boolean |
isIgnoreExisting() |
boolean |
isUsingScriptText() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Runs every job DSL script provided in the plugin configuration, which results in new /
updated Jenkins jobs.
|
all, getDescriptor, getRequiredMonitorService, prebuildgetProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public ExecuteDslScripts(ExecuteDslScripts.ScriptLocation scriptLocation, boolean ignoreExisting, RemovedJobAction removedJobAction)
public java.lang.String getTargets()
public java.lang.String getScriptText()
public boolean isUsingScriptText()
public boolean isIgnoreExisting()
public RemovedJobAction getRemovedJobAction()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - launcher - listener - java.lang.InterruptedExceptionjava.io.IOException