SpotiByeAds
SpotiByeAds copied to clipboard
Bamboo Build collector not getting all jobs to configure the widget
My companys bamboo server has more than 10000 plans configured. When I try to configure Hygieia Bamboo collector, I am able to see the around 2000 plans out of that my applications jobs are not getting populated.
Is there any limits in populating the jobs, or is there a way we can configure the collector job for pre-defined projects or plans?
I'm really not sure on the number of plans.. But when you configure your project in build (bamboo) widget.. it takes some time to load the data.. In my case I have seen this issue.
I couldnt see my project or Build Job to configure the widget, other plans/jobs are getting displayed. Even I couldnt see my job/plan related to my project in the bamboo collector logs.
I can see, its collecting plan names starting with the letter A to E but not after that..
It’s possible that it needs to implement some sort paging functionality. Is that something you can work on and contribute back?
Just updating here. It is hard coded to 2000. https://github.com/Hygieia/Hygieia/blob/26692e14a88729ff47669154c95d24f8a0073fc9/collectors/build/bamboo/src/main/java/com/capitalone/dashboard/collector/DefaultBambooClient.java#L52
@vishnuvangala @murugaops I have a fix for this. Would you be willing to test?
@Sbrenthughes Please let me know.. I'm happy to test. I'll try to get some time next week for this.
Can you reach out to me on gitter?
@vishnuvangala @murugaops - PR for this above.
EDIT: Apologies. Found an issue. Will create new PR once fixed.
PR @ https://github.com/Hygieia/Hygieia/pull/2904