Dashboard View Plugin development

18 views
Skip to first unread message

StudyCodes

unread,
Oct 21, 2013, 5:20:51 AM10/21/13
to jenkin...@googlegroups.com
 Hi all the smart developers,

           Im quite new to Jenkins and currently we are working on developing new dashboard view plugin based on existing Dashboard-view plugin. We want to display the currently running job for each slave machines like

                slave 1           JobA(running)     a progress bar   Build ID
                slave 2           JobB(running)     a progress bar   Build ID
                slave 3                                                          
           slave 3 is empty because it is not running any job now, it may has last build job and it can be shown using lastBuild, but now what we want is showing the running job for each slave. Do you have any idea how this portlet should be written or any source code can provide? Thank you so much for the help!!!

from SC

Daniel Beck

unread,
Oct 21, 2013, 5:32:52 AM10/21/13
to jenkin...@googlegroups.com
You could adapt the code used for the executor status on the left of every page in Jenkins.

Note that slaves have a number of executors, and each of them can run a build. Additional executors can be created temporarily for light-weight jobs. Either your description is simplified, or you're writing this for a _very_ specific configuration.
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.

studyntu

unread,
Oct 21, 2013, 5:40:29 AM10/21/13
to jenkin...@googlegroups.com
Hi Daniel,

    thanks! i noticed that there are executor status on the left of every page in Jenkins, but we want to have a portlet to show this information( with more details, more user friendly). the left side bar only can show slave name and running job, they dun have other information like this job buildID, progress status and so on. thats why we want design our own. Do you know any codes i can refer to? thanks!


You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/ZxxDl6ymUHM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages