In order to show a link on the Job page you need to create a *ProjectAction.

Do you already show something in a build? This class should implement 
SimpleBuildstep.LastBuildAction and return the ProjectAction.


> Am 09.01.2018 um 23:32 schrieb Jean-Karlo Accetta 
> <[email protected]>:
> 
> Hi,
> 
> I'm pretty new to developing plugins for Jenkins and can't figure out how to 
> add a script to a job's page (or its builds' summary pages).
> 
> I tried creating a script and implementing hudson.tasks.Action and creating a 
> src/main/resources/[package]/Foo/summary.jelly file, but doing that doesn't 
> show anything anywhere.  I tried following the tutorial on 
> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-CreatingaNewPlugin
>  (and a lot of the related links), but that didn't really help much.  If 
> anyone has a link to more documentation, I'd appreciate that as well.
> 
> 
>  
> <https://lh3.googleusercontent.com/-JmFs0xe3d0k/WlVCw2KlVVI/AAAAAAAADts/6GtsbI9fILIDn0YLbP9obzK7gl1YQRAyACLcBGAs/s1600/image.png>
> 
> Any help is much appreciated, or links to tutorials/videos.
> 
> Thanks in advance,
>    - JK
> 
> --
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/7ecef2ac-7a7d-4c0b-9c80-291d092e55b2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/7ecef2ac-7a7d-4c0b-9c80-291d092e55b2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/55838ECC-F441-463D-ADA9-CBBE54D33DF0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to