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

Unable to start pipeline from UI because of param type error

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ODC Sprint 3274

      Description of problem:

      Facing the below type error when starting a pipeline with 1.18.1 build
      parameters[3].value must be a `string` type, but the final value was: `[ "\"requirment.txt\"" ]`.
      But the param was declared as type array in yaml defenition

      • name: cachePatterns
           type: array
           default: ["**requirment.txt"]
        When triggering the pipelinerun with the same yaml file in 1.18, it is working fine

        Steps to Reproduce

      1. Install 1.18.1 pipelines operator using index image quay.io/openshift-pipeline/pipelines-index-4.18:1.18
      2. Create new project and create the below pipeline and sample pvc
        https://github.com/openshift-pipelines/release-tests/blob/master/testdata/ecosystem/pipelines/cache-stepactions-python.yaml
      3. Run the pipeline from UI

      Actual results:

      Getting type error when starting the pipeline 

      Expected results:

      Pipeline should start when triggering from UI.
      The same pipeline was working in 1.18 

        1. image-2025-05-19-17-12-29-874.png
          64 kB
          Sai Raju Manthina
        2. image-2025-05-19-16-56-38-356.png
          71 kB
          Sai Raju Manthina
        3. image-2025-05-13-11-28-54-065.png
          50 kB
          Sai Raju Manthina
        4. image-2025-05-13-11-27-58-107.png
          51 kB
          Sai Raju Manthina

              rh-ee-lprabhu Lokananda Prabhu
              rh-ee-smanthin Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: