Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-3316

Branch name should sanitised to match actual github branch name in repository plr list

XMLWordPrintable

    • Important
    • ODC Sprint 227, ODC Sprint 229, ODC Sprint 231
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

      Description of problem:

      Branch name in repository pipelineruns list view should match the actual github branch name.

      Version-Release number of selected component (if applicable):

      4.11.z

      How reproducible:

      alwaus

      Steps to Reproduce:

      1. Create a repository
      2. Trigger the pipelineruns by push or pull request event on the github 
      

      Actual results:

      Branch name contains "refs-heads-" prefix in front of the actual branch name eg: "refs-heads-cicd-demo" (cicd-demo is the branch name)

      Expected results:

      Branch name should be the acutal github branch name. just `cicd-demo`should be shown in the branch column.

       

      Additional info:
      Ref: https://coreos.slack.com/archives/CHG0KRB7G/p1667564311865459

        1. image-2023-01-31-19-29-34-962.png
          39 kB
          Vikram Raj
        2. image-2023-01-31-19-31-18-664.png
          121 kB
          Vikram Raj
        3. Screenshot 2022-11-04 at 13.17.43.png
          162 kB
          Karthik Jeeyar

            viraj-1 Vikram Raj
            karthik.jk Karthik Jeeyar
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: