-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major
-
Component/s: bitbucket-branch-source-plugin
-
None
-
937.3.2
We have a repository with large number of branches and tags and webhooks enabled.
On every event in this repository, Jenkins is checking all the branches and tags - which takes significant time - a few minutes for single job. Because the number of thread which can process webhooks is limited, sometimes we experience long queues and delays between webhooks is sent and a new build is triggered.
I've checked different jobs configurations and I found that
- The problem occurs when Discover tags is trait is configured
- Huge number of branches is checked much faster than huge number of tags
- Tags are always checked, regardless which type of event triggered webhook
- All tags are always checked - no matter if they match Filter by name pattern
- links to