Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69577

Not able to see tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None

      I am not being able to see tags in a multibranch pipeline project. Please see the attached screenshots, branches.png and tags.png.

      I am selecting: 

      Discover tags --> Specify ref specs --> Ref spec

      +refs/tags/*:refs/remotes/origin/tags/* 

      Curiously, if I select discover tags by 'filter by name' and specify this particular wildcard "\d+.\d+.\d+", then I see the tags but the master branch seems to be struck out. See the attached screenshot 'branches_struck_out.png' again.

      The scan repository log shows this when the above option is selected:

      Examining orgname/repository_name  Checking branches... 
      
       Getting remote branches...    
      Checking branch master    
      Checking branch foo-bar  
      2 branches were processed  
      Checking pull-requests...  
      Getting remote pull requests...    
      Checking pull request #310    
      Checking pull request #294  
      2 pull requests were processed  
      Checking tags...  
      Getting remote tags...    
      Checking tag 1.1.62
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.1.63
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.1.64
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.2.12
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.2.21
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.2.30
            'build/ci/Jenkinsfile' not found
          Does not meet criteria    Checking tag 1.2.32
            'build/ci/Jenkinsfile' not found
          Does not meet criteria 
      <OMITTED>

      How can I resolve this problem? 

        1. branches.png
          branches.png
          11 kB
        2. tags.png
          tags.png
          24 kB
        3. branches_struck_out.png
          branches_struck_out.png
          25 kB
        4. pr_struck_out.png
          pr_struck_out.png
          26 kB
        5. remove_refspec.png
          remove_refspec.png
          29 kB
        6. Jenkinsfile
          7 kB

            Unassigned Unassigned
            direstraits dire straits
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: