
Tekton PipelineRun Create
CertifiedCreate a Tekton PipelineRun
Tekton PipelineRun Create
Create a Tekton PipelineRun
Creates a PipelineRun in a Kubernetes cluster and optionally waits for its terminal status.
type: io.kestra.plugin.tekton.pipelinerun.CreateExamples
Run a Tekton pipeline and wait for it to finish.
id: tekton_pipeline
namespace: company.team
tasks:
- id: run
type: io.kestra.plugin.tekton.pipelinerun.Create
namespace: ci
connection:
oauthToken: "{{ secret('K8S_TOKEN') }}"
masterUrl: "{{ secret('K8S_MASTER_URL') }}"
pipelineRef: build-and-test
params:
git-url: https://github.com/acme/app.git
revision: main
serviceAccountName: tekton-runner
wait: true
waitTimeout: PT30M
Properties
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150connection
Kubernetes connection
Connection settings for the Kubernetes cluster. When omitted, Fabric8 discovers credentials from system properties, environment variables, kubeconfig, or the in-cluster service account.
inheritClusterConfig booleanstring
trueInherit cluster auto-configuration
When true, explicit connection fields override the ambient kubeconfig or in-cluster configuration.
namespace string
defaultTekton namespace
Namespace where the PipelineRun or TaskRun is managed.
params object
Pipeline parameters
Values passed to the referenced pipeline.
pipelineRef string
Pipeline name
Name of an existing Tekton Pipeline.
pollInterval string
PT5SPolling interval
How often a waiting task checks the run status.
serviceAccountName string
Service account name
Service account used by the TaskRuns created for this PipelineRun.
spec string
Inline PipelineRun spec
YAML for a Tekton PipelineRun spec. Use this instead of pipelineRef to provide pipelineSpec or advanced run settings.
wait booleanstring
falseWait for completion
When true, wait for the Tekton run to reach a terminal Succeeded condition.
waitTimeout string
PT30MWait timeout
Maximum time to wait for the Tekton run to reach a terminal status.
workspaces array
Workspace bindings
Tekton workspace bindings in the same shape as a PipelineRun manifest.
Outputs
completionTime string
date-timeRun completion time
conditions array
Run conditions
io.kestra.plugin.tekton.model.TektonCondition
Last transition time
Condition message
Condition reason
Condition status
Condition type
name string
Run name
namespace string
Run namespace
results object
Run results
startTime string
date-timeRun start time
status string
Run status
True, False, or Unknown from the Tekton Succeeded condition.