public class BatchBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchBuilder.DescriptorImpl |
| Constructor and Description |
|---|
BatchBuilder(String job,
String filesToDownload,
String downloadDestination,
String filesToSend,
float checkFrequencyMinutes,
boolean sendEmail) |
| Modifier and Type | Method and Description |
|---|---|
BatchBuilder.DescriptorImpl |
getDescriptor() |
static jenkins.model.Jenkins |
getJenkinsInstance()
Get the Jenkins singleton and throw a NullPointerException if it is `null`.
|
String |
getJob() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public BatchBuilder(String job, String filesToDownload, String downloadDestination, String filesToSend, float checkFrequencyMinutes, boolean sendEmail) throws NullPointerException
NullPointerException@Nonnull public static jenkins.model.Jenkins getJenkinsInstance() throws NullPointerException
NullPointerException - if Jenkins has not yet been started or has already been terminatedpublic String getJob()
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 BatchBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2018 Wave Computing, Inc.. All rights reserved.