I have a deployment job with about 26 branch selectors. It takes about 3-4 minutes to load the menu with all branches using git parameter plugin. But I noticed that it takes only 10 seconds If I will clone the job and will do the same in the cloned job. But after a period of time it will also become slow.
I suppose that it is possible to load branches fast for every deployment. I tried to wipe workspace and to restart Jenkins. But it didn't help.
Please let me know if you need some additional info.
Update: Just updated Jenkins till 2.138.2 and Git parameter till 0.9.6. Issue still persists.