SpotiByeAds icon indicating copy to clipboard operation
SpotiByeAds copied to clipboard

Bamboo Build collector not getting all jobs to configure the widget

Open murugaops opened this issue 6 years ago • 9 comments

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?

murugaops avatar Nov 29 '18 11:11 murugaops

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.

vishnuvangala avatar Nov 29 '18 11:11 vishnuvangala

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..

murugaops avatar Nov 29 '18 12:11 murugaops

It’s possible that it needs to implement some sort paging functionality. Is that something you can work on and contribute back?

Sbrenthughes avatar Dec 03 '18 14:12 Sbrenthughes

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

Sbrenthughes avatar Mar 22 '19 14:03 Sbrenthughes

@vishnuvangala @murugaops I have a fix for this. Would you be willing to test?

Sbrenthughes avatar Apr 25 '19 17:04 Sbrenthughes

@Sbrenthughes Please let me know.. I'm happy to test. I'll try to get some time next week for this.

vishnuvangala avatar Apr 26 '19 06:04 vishnuvangala

Can you reach out to me on gitter?

Sbrenthughes avatar Apr 26 '19 13:04 Sbrenthughes

@vishnuvangala @murugaops - PR for this above.

EDIT: Apologies. Found an issue. Will create new PR once fixed.

k1dbl4ck avatar May 16 '19 06:05 k1dbl4ck

PR @ https://github.com/Hygieia/Hygieia/pull/2904

k1dbl4ck avatar May 16 '19 07:05 k1dbl4ck