Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix JENKINS-32258] remove excess rev-parse calls
The BuildData cleanup change to remove dead branches from BuildData needs the list of current branches. Generating the list of current branches called rev-parse for each branch. With small branch counts, that isn't a huge problem. Large branch counts make it painfully slow. One of the problem repositories has 17000 branches. Since the BuildData cleanup step is introducing extra work, this may still be slower than earlier versions, since larger sized BuildDData was accepted prior to git plugin 2.4.1 and git client 1.19.1.
- Loading branch information
1 parent
3a8d219
commit 1a450a5
Showing
1 changed file
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters