opendevstack/ods-pipeline

Add PipelineRun name to ODS context

michaelsauter opened this issue · 1 comments

The ODS context is quite helpful when rendering documents with https://github.com/opendevstack/ods-pipeline-adoc. One thing that is currently missing, but often required for documents, is a reference of the PipelineRun name.

For documents, this can also be achieved by passing the value as a param to the documentation task. Another alternative is to use the K8s downward API (the pipeline run name is available as a pod label).