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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.11.z
    • Dev Console
    • Important
    • None
    • ODC Sprint 231
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

      This is a clone of issue OCPBUGS-6755. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-3316. The following is the description of the original issue:

      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

            viraj-1 Vikram Raj
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: