tkn pr rm
Delete PipelineRuns in a namespace
Options
Name | Description |
---|---|
--all | Delete all PipelineRuns in a namespace (default: false) |
--allow-missing-template-keys | If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats |
--force, -f | Whether to force deletion (default: false) |
--ignore-running, -i | Ignore running PipelineRun (default: true) |
--keep <keep> | Keep n most recent number of PipelineRuns |
--keep-since <keep-since> | When deleting all PipelineRuns keep the ones that has been completed since n minutes |
--label <label> | A selector (label query) to filter on when running with --all, supports '=', '==', and '!=' |
--output, -o <output> | Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file) |
--pipeline, -p <pipeline> | The name of a Pipeline whose PipelineRuns should be deleted (does not delete the Pipeline) |
--show-managed-fields | If true, keep the managedFields when printing objects in JSON or YAML format |
--template <template> | Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview] |