Hello all,
I'm a beginner plugin developer, and I'm not sure how to use Stapler with
Jelly.
My post build plugin has a summary.jelly that shows some information on the
build pages of the project.
What I want is to have links in that summary in order to navigate to other
pages showing some additional information.
In that summary.jelly that belongs to a class implementing Action and has a
method : public void doGraph(StaplerRequest req, StaplerResponse rsp)
(that writes a picture to the response) I put the followings:
<a href="myplugin/graph">
show all plots for all tests
</a>
So when I click the link, a new HTML page is shown with the single picture.
However what I want to achieve is to show pictures "inside" the Jenkins UI
(have the Jenkins header and sidebar, etc...) and have a jelly file that
produces the output in order to put more pictures in a table. (I guess the
latter is achiveable in a jelly:for).
Could you provide me some guidance please?
I already looked at the source of the JUnit plugin
(https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin)
and the Plot plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin) but I find it
hard to figure out how to move on.
What I also tried is to acquire the source of the Console output action
built into Jenkins because it might have some simple source I could use to
understand
the way to do this but I couldn't.
Thank you,
Barnie
--
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/b02a4d9b-198d-4d86-bb27-4ff30fdad086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.