Okay thanks so far @Dominik.

I am playing around with the JobProperty 
<http://javadoc.jenkins-ci.org/hudson/model/JobProperty.html> Extension 
point because I can easily add my own Action when I override the 
`getJobActions` method.

Just to clarify, this changes - as expected - this view:

<https://lh3.googleusercontent.com/-S66K00kmHAc/Vtb_5wQrr0I/AAAAAAAAAfU/qpzhjr9OZEw/s1600/Bildschirmfoto%2B2016-03-02%2Bum%2B15.53.51.png>


I would like to have another action displayed in the details view of a 
specific build:


<https://lh3.googleusercontent.com/-tXvhKnoVmpI/VtcAJYPaWGI/AAAAAAAAAfY/xfPxCCyV6ns/s1600/Bildschirmfoto%2B2016-03-02%2Bum%2B15.56.46.png>

As the appropriate hudson model seems to be Run 
<http://javadoc.jenkins-ci.org/hudson/model/Run.html>, I'd expect to find a 
RunProperty extension point or something along that name, but I couldn't 
find it. So the only way that comes to my mind is to register a RunListener 
<http://javadoc.jenkins-ci.org/hudson/model/listeners/RunListener.html> and 
call run.addAction(...). Is that the right way or am I off track?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/bd33f64e-4437-455d-8a08-3f2c10425287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to