Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-10840

Context variable references in Pipeline Parameter defaults causes PLR validation failure

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Fixed a bug which caused PipelineRun validation to fail when a pipeline parameter's default value referenced a non-parameter variable (e.g. `$(context.pipelineRun.name)`)
    • Bug Fix
    • Proposed

      Description of problem:

      Defining a pipeline-param default value that references a non-param variable (e.g. default: "plr_name: $(context.pipelineRun.name)") causes pipelineRun validation to fail in Tekton Pipelines 1.9

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              rh-ee-athorp Andrew Thorp
              rh-ee-athorp Andrew Thorp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: