Class RunJobBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.osfbuildersuiteforsfcc.runjob.RunJobBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class RunJobBuilder extends Builder implements SimpleBuildStep
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunJobBuilder.DescriptorImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
Constructors Constructor Description RunJobBuilder(String hostname, String ocCredentialsId, String ocVersion, String jobName, List<JobArgument> jobArguments, Boolean waitForJobToFinish)
-
Method Summary
Modifier and Type Method Description RunJobBuilder.DescriptorImpl
getDescriptor()
String
getHostname()
List<JobArgument>
getJobArguments()
String
getJobName()
String
getOcCredentialsId()
String
getOcVersion()
Boolean
getWaitForJobToFinish()
void
perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
void
setHostname(String hostname)
void
setJobArguments(List<JobArgument> jobArguments)
void
setJobName(String jobName)
void
setOcCredentialsId(String ocCredentialsId)
void
setOcVersion(String ocVersion)
void
setWaitForJobToFinish(Boolean waitForJobToFinish)
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, 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, getRequiredMonitorService, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
RunJobBuilder
-
-
Method Details
-
getHostname
-
setHostname
-
getOcCredentialsId
-
setOcCredentialsId
-
getOcVersion
-
setOcVersion
-
getJobName
-
setJobName
-
getJobArguments
-
setJobArguments
-
getWaitForJobToFinish
-
setWaitForJobToFinish
-
perform
public void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-