-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: bitbucket-branch-source-plugin
-
None
-
Environment:Plugin version: 937.2.5
The current version of the plugin will always retrieve all Pull requests or branches or all data from paginated APIs. This happens even if we only use a subset of the data resulting in more data retrieved than required.
This happens in cases such as https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/e5631e06326332b75a734ff0ed008c324c7798f3/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSource.java#L410-L491 where if process returns true we do not iterate the whole list