Class CreateCustomTaskrun
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.waveywaves.jenkins.plugins.tekton.client.build.BaseStep
org.waveywaves.jenkins.plugins.tekton.client.build.create.CreateCustomTaskrun
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.waveywaves.jenkins.plugins.tekton.client.build.BaseStep
BaseStep.InputType
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 class org.waveywaves.jenkins.plugins.tekton.client.build.BaseStep
kubernetesClient, pipelineClient, pipelineResourceClient, pipelineRunClient, taskClient, taskRunClient, tektonClient
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorsConstructorDescriptionCreateCustomTaskrun
(String name, String generateName, String namespace, String clusterName, List<TektonWorkspaceBind> workspaces, List<TektonParam> params, String taskRef) -
Method Summary
Methods inherited from class org.waveywaves.jenkins.plugins.tekton.client.build.BaseStep
setKubernetesClient, setPipelineClient, setPipelineResourceClient, setPipelineRunClient, setTaskClient, setTaskRunClient, setTektonClient
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, 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
-
CreateCustomTaskrun
@DataBoundConstructor public CreateCustomTaskrun(String name, String generateName, String namespace, String clusterName, List<TektonWorkspaceBind> workspaces, List<TektonParam> params, String taskRef)
-
-
Method Details
-
getKind
-
getName
-
getNamespace
-
getTaskRef
-
getGenerateName
-
getWorkspaces
-
getParams
-
perform
public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException- Throws:
InterruptedException
IOException
-
workspacesToWorkspaceBindingList
-