jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-69577] Not able to see tags

Open
#1,408 5 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

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


How can I resolve this problem? 

---
Originally reported by direstraits, imported from: Not able to see tags


  • status: Open
  • priority: Major
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

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? 

environment

```
Jenkins version 2.346.3 running on kubernetes

Jenkins: 2.346.3

OS: Linux - 5.4.0-1029-aws

---

ace-editor:1.1

apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61

artifact-manager-s3:670.v0558a_cb_c82c2

authentication-tokens:1.4

aws-credentials:191.vcb_f183ce58b_9

aws-global-configuration:100.v4619b_45d2dfc

aws-java-sdk:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-cloudformation:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-codebuild:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-ec2:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-ecr:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-ecs:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-efs:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-elasticbeanstalk:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-iam:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-logs:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-minimal:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-sns:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-sqs:1.12.287-357.vf82d85a_6eefd

aws-java-sdk-ssm:1.12.287-357.vf82d85a_6eefd

aws-secrets-manager-credentials-provider:1.188.v8f90a_d7942b_e

aws-secrets-manager-secret-source:1.51.v39a_9e7452e65

blueocean:1.25.7

blueocean-autofavorite:1.2.5

blueocean-bitbucket-pipeline:1.25.7

blueocean-commons:1.25.7

blueocean-config:1.25.7

blueocean-core-js:1.25.7

blueocean-dashboard:1.25.7

blueocean-display-url:2.4.1

blueocean-events:1.25.7

blueocean-git-pipeline:1.25.7

blueocean-github-pipeline:1.25.7

blueocean-i18n:1.25.7

blueocean-jwt:1.25.7

blueocean-personalization:1.25.7

blueocean-pipeline-api-impl:1.25.7

blueocean-pipeline-editor:1.25.7

blueocean-pipeline-scm-api:1.25.7

blueocean-rest:1.25.7

blueocean-rest-impl:1.25.7

blueocean-web:1.25.7

bootstrap5-api:5.2.0-3

bouncycastle-api:2.26

branch-api:2.1046.v0ca_37783ecc5

caffeine-api:2.9.3-65.v6a_47d0f4d1fe

checks-api:1.7.5

cloudbees-bitbucket-branch-source:785.ve724eb_44e286

cloudbees-folder:6.740.ve4f4ffa_dea_54

command-launcher:84.v4a_97f2027398

configuration-as-code:1512.vb_79d418d5fc8

copyartifact:1.47

credentials:1143.vb_e8b_b_ceee347

credentials-binding:523.vd859a_4b_122e6

display-url-api:2.3.6

durable-task:500.v8927d9fd99d8

echarts-api:5.3.3-1

favorite:2.4.1

font-awesome-api:6.1.2-1

git:4.11.5

git-client:3.11.2

github:1.34.5

github-api:1.303-400.v35c2d8258028

github-branch-source:1687.v7618247e672d

google-login:1.6

handlebars:3.0.8

handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953

htmlpublisher:1.30

jackson2-api:2.13.3-285.vc03c0256d517

jakarta-activation-api:2.0.1-1

jakarta-mail-api:2.0.1-1

javax-activation-api:1.2.0-4

javax-mail-api:1.6.2-7

jaxb:2.3.6-1

jdk-tool:55.v1b_32b_6ca_f9ca

jenkins-design-language:1.25.7

jjwt-api:0.11.5-77.v646c772fddb_0

jquery3-api:3.6.0-4

jsch:0.1.55.61.va_e9ee26616e7

junit:1119.1121.vc43d0fc45561

kubernetes:3704.va_08f0206b_95e

kubernetes-client-api:5.12.2-193.v26a_6078f65a_9

kubernetes-credentials:0.9.0

mailer:435.v79ef3972b_5c7

matrix-project:772.v494f19991984

metrics:4.2.10-389.v93143621b_050

mina-sshd-api-common:2.8.0-36.v8e25ce90d4b_1

mina-sshd-api-core:2.8.0-36.v8e25ce90d4b_1

momentjs:1.1.1

okhttp-api:4.9.3-108.v0feda04578cf

pipeline-build-step:2.18

pipeline-graph-analysis:195.v5812d95a_a_2f9

pipeline-groovy-lib:612.v84da_9c54906d

pipeline-input-step:449.v77f0e8b_845c4

pipeline-milestone-step:101.vd572fef9d926

pipeline-model-api:2.2114.v2654ca_721309

pipeline-model-definition:2.2114.v2654ca_721309

pipeline-model-extensions:2.2114.v2654ca_721309

pipeline-rest-api:2.24

pipeline-stage-step:296.v5f6908f017a_5

pipeline-stage-tags-metadata:2.2114.v2654ca_721309

pipeline-stage-view:2.24

plain-credentials:139.ved2b_9cf7587b

plugin-util-api:2.17.0

popper2-api:2.11.6-1

pubsub-light:1.16

scm-api:621.vda_a_b_055e58f7

script-security:1175.v4b_d517d6db_f0

slack:616.v03b_1e98d13dd

snakeyaml-api:1.31-84.ve43da_fb_49d0b

sse-gateway:1.25

ssh-credentials:305.v8f4381501156

sshd:3.242.va_db_9da_b_26a_c3

structs:324.va_f5d6774f3a_d

token-macro:308.v4f2b_ed62b_b_16

trilead-api:1.67.vc3938a_35172f

variant:59.vf075fe829ccb

workflow-aggregator:590.v6a_d052e5a_a_b_5

workflow-api:1192.v2d0deb_19d212

workflow-basic-steps:994.vd57e3ca_46d24

workflow-cps:2759.v87459c4eea_ca_

workflow-durable-task-step:1199.v02b_9244f8064

workflow-job:1207.ve6191ff089f8

workflow-multibranch:716.vc692a_e52371b_

workflow-scm-step:400.v6b_89a_1317c9a_

workflow-step-api:639.v6eca_cd8c04a_a_

workflow-support:838.va_3a_087b_4055b

```

6 attachments

- [Jenkinsfile](https://issues.jenkins.io/secure/attachment/59067/Jenkinsfile)
- [branches.png](https://issues.jenkins.io/secure/attachment/59049/branches.png)
> ![branches.png](https://issues.jenkins.io/secure/attachment/59049/branches.png)
- [branches_struck_out.png](https://issues.jenkins.io/secure/attachment/59048/branches_struck_out.png)
> ![branches_struck_out.png](https://issues.jenkins.io/secure/attachment/59048/branches_struck_out.png)
- [pr_struck_out.png](https://issues.jenkins.io/secure/attachment/59055/pr_struck_out.png)
> ![pr_struck_out.png](https://issues.jenkins.io/secure/attachment/59055/pr_struck_out.png)
- [remove_refspec.png](https://issues.jenkins.io/secure/attachment/59056/remove_refspec.png)
> ![remove_refspec.png](https://issues.jenkins.io/secure/attachment/59056/remove_refspec.png)
- [tags.png](https://issues.jenkins.io/secure/attachment/59050/tags.png)
> ![tags.png](https://issues.jenkins.io/secure/attachment/59050/tags.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.