The GitHub plugin in Jenkins does not detect tags
Issue
- Impacted version: 4.34.0
- Jenkins GitHub API Plugin: 1.115
- Jenkins GitHub Branch Source Plugin: 2.8.3
Deployment mode: war in tomcat
Problem description: I have setup our GitBucket as a GitHubEnterprise server in Jenkins. I configure a GitHub-Organization Job that scans all repos within an organization. This works well for branches and PRs.
But I cannot get Jenkins to detect tags. When detection of tags is enabled, the output of the scan log is this, although there are tags present within the repo:
1 branches were processed
Checking pull-requests...
0 pull requests were processed
Checking tags...
Getting remote tags...
0 tags were processed
I have filed previous issues, which targeted the problematic part of the API implementation. I see that this appears to be a moving target, as also the library that is used within the Jenkins GitHub plugin is currently working on this part of their code base.
Original Issue with more details, but might be outdated meanwhile: #2437
- Also related: #2461, #2480
I suggest to leave this issue open until detection of tags in Jenkins works. No matter what the actual problem is.