If you want to see the values of the ParameterAction there is already a 
plugin which does this,

http://wiki.jenkins-ci.org/display/JENKINS/Show+Build+Parameters+Plugin

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 *,
>>
>> 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
>
>
>

Reply via email to