Status: Open (View Workflow)
Environment:Jenkins: version 2.124
github-branch-source-plugin: version 2.3.4
Operating System: Debian GNU/Linux 9 in Docker container via kubernetes-plugin
I have an organization set with "Discover Tags" enabled under "Github Organization". One of the repos under this project has a significant number of tags. The "Repository Events" for this repo seems to show a nearly constant loop checking the full list of tags.
This is eating up our Github API requests and hitting the plugin's throttling:
Checking tag v0.1.1
GitHub API Usage: Current quota has 1664 remaining (2 over budget). Next quota of 5000 in 22 min. Sleeping for 26 sec.
The "checking tag XXXXX" entries keep cycling through all of the tags. We also have Branches and PR's enabled for this organization. Those does not seem to be doing the same constant polling in the repo event logs unless there is a change pushed.
Is this expected behavior? Is there anyway to avoid doing so many checks for existing tags?