No of builds ran on a given build node/agent

22 views
Skip to first unread message

Madhu Muchukota

unread,
Dec 10, 2021, 9:51:29 AM12/10/21
to Jenkins Users
Hi Team - Is there a way for me to find out how many number of builds executed on each build nodes that we have in a given time period?

I want to check if the load is equally getting distributed between the build nodes.

Thanks
Madhu M

Dirk Heinrichs

unread,
Dec 10, 2021, 9:58:40 AM12/10/21
to jenkins...@googlegroups.com
Am Freitag, dem 10.12.2021 um 06:51 -0800 schrieb Madhu Muchukota:

Hi Team - Is there a way for me to find out how many number of builds executed on each build nodes that we have in a given time period?

Yes. You can get the build history for every job (which includes the node each build ran on) using some Groovy scripting (-> Manage Jenkins -> Script console).

I want to check if the load is equally getting distributed between the build nodes.

It usually isn't, since Jenkins prefers the same node for subsequent builds of the same job. It only uses a different node if the preferred node is busy (has no free executors).

Bye...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

M.Madhusudana Reddy

unread,
Dec 10, 2021, 10:03:09 AM12/10/21
to Jenkins Users
Thanks Dirk. 

Do we have any plugins through which I can achieve equal load distribution?

Thanks
M.Madhu


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/54747614fd7fd833f4e746b50f94399333934496.camel%40opentext.com.
Reply all
Reply to author
Forward
0 new messages