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

on-path-change annotation is wrongly documentated as on-path-changed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      The Openshift pipelines documentation wrongly suggests to use annotation pipelinesascode.tekton.dev/on-path-changed and pipelinesascode.tekton.dev/on-path-changed-ignore , while it should be pipelinesascode.tekton.dev/on-path-change-ignore and pipelinesascode.tekton.dev/on-path-change.

       

      Steps to Reproduce

       1. Create a Pipeline run instance along with your code

       2.  Add pipelinesascode.tekton.dev/on-path-changed-ignore to ignore the path, where file change should not trigger pipeline run.

       3. Under path configured in on-path-changed-ignore make change in a file and observe if PipelineRun is not initiated. The PipelineRun is still initiated. 

       

      Actual results:

      • PipelineRun is initiated when a file present under the path pipelinesascode.tekton.dev/on-path-changed-ignore is updated.

      Expected results:

      • PipelineRun should not be initiated when a file present under the path pipelinesascode.tekton.dev/on-path-changed-ignore is updated.

       

              Unassigned Unassigned
              rhn-support-rissingh Rishabh Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: