Fetch executor details

3 views
Skip to first unread message

selva vignesh

unread,
Jul 20, 2019, 7:08:02 AM7/20/19
to jenkin...@googlegroups.com
Hi,
I am developing Jenkins for my personal work. In that plugin I want to fetch the executor details like 1)No of executor available
2) How many executors are idle/ running for job 
3) Any listeners available to find executor added/deleted 
Kindly advise me to achieve above work item and share me if you have any reference 
Thanks in advance 

Jeff

unread,
Jul 20, 2019, 11:19:20 AM7/20/19
to jenkin...@googlegroups.com
I don't know, because I haven't worked with this part of Jenkins, but here's one way I'd approach it, which has often worked in the past.

1. I did a Google search for "jenkins api get executor number" and found this class.
2. Searching jenkinsci for that class returned a lot of hits, but this one was near the top, and looked interesting since it seems related to Blue Ocean displaying such things.
3, I found some code in there that looks helpful, but I'm hoping you can find it :-)

Best
Jeff


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkpkbcigb%3DuuVuLDjegG93Vi2JQyNtw8-RrsgjeVBq%2Bfxcw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages