Slave page

22 views
Skip to first unread message

Oliv

unread,
Aug 28, 2013, 4:57:27 AM8/28/13
to jenkin...@googlegroups.com
Hello,

I want to get back description of a slave and write on the page of this
below the name of the slave because the problem is that everything was
written on the label to differentiate two labels and I want to put
information like the host, the url and more on the page to clear a little
the label. First i want to write anything to the page in order to understand
how it work. May be with a .jelly ?

In the URL I saw $JENKINS_URL/computer/name_of_slave i searched the
extension point Computer or something whose approximates it but i only find
ComputerPanelBox and TransientComputerActionFactory but it is inappropriate
for what i want to do.

Hoping i was clear if anyone have an idea or a doc on which i can support
me..

Thank you,

Olivier



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Slave-page-tp4677087.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

Vincent Latombe

unread,
Aug 30, 2013, 2:11:09 AM8/30/13
to Jenkins Dev
Hi,

given the description, I believe TransientComputerActionFactory satisfies your need.
It allows you to write an Action class and instanciates it. Then the action can define some jelly files, depending where its data should be displayed in the UI.

Vincent


2013/8/28 Oliv <olivier....@gmail.com>

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

Oliv

unread,
Aug 30, 2013, 5:51:18 AM8/30/13
to jenkin...@googlegroups.com
Thank you for your answer.

I am going to use TransientComputerActionFactory after have understood a
little better the ComputerPanelBox I have the class Action with the class
transientComputerActionFactory but i don't know how use them to write at the
middle of the slave page. I have to write a .jelly to make a link between my
class and the UI ?

Sorry i am novice on Jelly I am learning and I try to understand how this
works.





--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Write-on-the-slave-page-tp4677087p4677206.html

Vincent Latombe

unread,
Sep 3, 2013, 11:04:09 AM9/3/13
to Jenkins Dev
Hi,

as far as I can see, both Actions and ComputerPanelBox are inserted in the sidepanel (see jenkins-core/src/main/resources/hudson/model/Computer/sidepanel.jelly)

as far as I can see there is currently no extention point that allows to contribute in the main part of a Computer index page.

Vincent


2013/8/30 Oliv <olivier....@gmail.com>

Oleg Nenashev

unread,
Sep 3, 2013, 11:56:52 AM9/3/13
to jenkin...@googlegroups.com, robert....@sonymobile.com
Hello,

I suppose that you could add such visualization to the Metadata plugin (https://wiki.jenkins-ci.org/display/JENKINS/Metadata+plugin) via the "summary.jelly".
I have such feature in the my wish-list, but I won't be able to do it till November :(

In my opinion, it could be a very flexible solution for many people.

Best regards,
Oleg Nenashev
R&D Engineer, Synopsys Inc.

среда, 28 августа 2013 г., 12:57:27 UTC+4 пользователь Olivier написал:

Oliv

unread,
Sep 4, 2013, 10:13:36 AM9/4/13
to jenkin...@googlegroups.com
Ok so I can't write at the middle in the computer page even with a jelly file
?

I don't know how the metadata plugin works i'll search informations about
it.

Thanks for your answers !



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Write-on-the-slave-page-tp4677087p4677349.html

Oleg Nenashev

unread,
Sep 4, 2013, 10:23:01 AM9/4/13
to jenkin...@googlegroups.com
> Ok so I can't write at the middle in the computer page even with a jelly file?
Summary.jelly from NodeProperty writes to the center of the page. You can see examples at the Ownership plugin (https://wiki.jenkins-ci.org/display/JENKINS/Ownership+Plugin), which makes the same ownership boxes for slave and jobs .


2013/9/4 Oliv <olivier....@gmail.com>
--
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/6qZMsHSlnX0/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