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

Show Tag label and tag name if tag is detected in repository PipelineRun list and details page


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.11.z
    • Dev Console
    • Moderate
    • No
    • ODC Sprint 237
    • 1
    • Rejected
    • False
    • Hide



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

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

      Description of problem:

      When we detect a refs/heads/branchname we should show the label as what we have now:
      - Branch: branchname
      And when we detect a refs/tags/tagname we should instead show the label as:
      - Tag: tagname

      I haven't implemented this in cli but there is an old issue for that here openshift-pipelines/pipelines-as-code#181

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


      How reproducible:


      Steps to Reproduce:

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

      Actual results:

      We do not show tag name even is tag is present instead of branch

      Expected results:

      We should show tag if tag is detected and branch if branch is detedcted.

      Additional info:


            avik6028 Avik Kundu
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            0 Vote for this issue
            6 Start watching this issue