@Symbol(value="customCreateTaskrun") public class CreateCustomTaskrun extends BaseStep
Modifier and Type | Class and Description |
---|---|
static class |
CreateCustomTaskrun.DescriptorImpl |
BaseStep.InputType
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
kubernetesClient, pipelineClient, pipelineResourceClient, pipelineRunClient, taskClient, taskRunClient, tektonClient
BUILDERS, PUBLISHERS
Constructor and Description |
---|
CreateCustomTaskrun(String name,
String generateName,
String namespace,
String clusterName,
List<TektonWorkspaceBind> workspaces,
List<TektonParam> params,
String taskRef) |
Modifier and Type | Method and Description |
---|---|
String |
getGenerateName() |
String |
getKind() |
String |
getName() |
String |
getNamespace() |
List<TektonParam> |
getParams() |
String |
getTaskRef() |
List<TektonWorkspaceBind> |
getWorkspaces() |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener taskListener) |
List<io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding> |
workspacesToWorkspaceBindingList() |
setKubernetesClient, setPipelineClient, setPipelineResourceClient, setPipelineRunClient, setTaskClient, setTaskRunClient, setTektonClient
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
@DataBoundConstructor public CreateCustomTaskrun(String name, String generateName, String namespace, String clusterName, List<TektonWorkspaceBind> workspaces, List<TektonParam> params, String taskRef)
public String getKind()
public String getName()
public String getNamespace()
public String getTaskRef()
public String getGenerateName()
public List<TektonWorkspaceBind> getWorkspaces()
public List<TektonParam> getParams()
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
InterruptedException
IOException
public List<io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding> workspacesToWorkspaceBindingList()
Copyright © 2016–2021. All rights reserved.