tektoncd / catalog

Catalog of shared Tasks and Pipelines.
Apache License 2.0
666 stars 577 forks source link

Add a result to the openshift-client task #1295

Open jackdelahunt opened 3 months ago

jackdelahunt commented 3 months ago

Currently in the openshift-client task there is no way to retrieve any info that a person may need from the result of the task in any easy way.

My proposal is to add a new result field that can be a string so values can be passed back out to future tasks in your pipeline.

results:
    - name: OUTPUT
      description: Output string that can be set with oc commands in the SCRIPT

This result can be set in the SCRIPT through an env variable