Custom Information on Job Status Page

805 views
Skip to first unread message

ffromm

unread,
Mar 21, 2012, 12:47:36 PM3/21/12
to Jenkins Developers
Hi *,

I just spent a lot of time to find a way to show data from the
build.xml on the job's status page. Without success...

The url like <jenkins>/job/<jobname>/<build number>/ shows the build
status page with several information like revision number, cause,
duration, etc. on it.

In my plugin, I saved some data in the build.xml:
...
<actions>
...
<hudson.model.ParametersAction>
<parameters>
<hudson.model.StringParameterValue>
<name>workspaceSize</name>
<value>5646424</value>
</hudson.model.StringParameterValue>
</parameters>
</hudson.model.ParametersAction>
</actions>
...

Can someone please provide a sample, how to render the workspaceSize
on the build's status page?

Thanks a lot!

Cheers, Frederik

Frederik Fromm

unread,
Mar 24, 2012, 7:27:18 AM3/24/12
to Jenkins Developers
Hello again,
 
I am looking for a way to render data stored as a ParameterAction located in <jenkins>/jobs/<job name/builds/<build number>/build.xml on the status page of the corresponding build using a jelly template.
 
What should be the name of the tempalte?
Which extensions/classes need to be implemented to be used by the template?
Where is the entry point in the rendering stream for such data?
 
Any help please?
 
Thanks, Frederik
 


 
2012/3/21 ffromm <frederi...@googlemail.com>

cjo

unread,
Mar 26, 2012, 12:16:29 PM3/26/12
to jenkin...@googlegroups.com
If you want to see the values of the ParameterAction there is already a plugin which does this,


Chris


On Saturday, 24 March 2012 11:27:18 UTC, ffromm wrote:
Hello again,
 
I am looking for a way to render data stored as a ParameterAction located in <jenkins>/jobs/<job name/builds/<build number>/build.xml on the status page of the corresponding build using a jelly template.
 
What should be the name of the tempalte?
Which extensions/classes need to be implemented to be used by the template?
Where is the entry point in the rendering stream for such data?
 
Any help please?
 
Thanks, Frederik
 


 
2012/3/21 ffromm
Hi *,
Reply all
Reply to author
Forward
0 new messages