creating link on index page

39 views
Skip to first unread message

Nikhil Bhoski

unread,
Sep 12, 2023, 2:15:06 AM9/12/23
to Jenkins Developers
Hi I have table displayed like below which is rendering from my index.jelly and which has Action class implementing Action class. I want to show failure stack trace on click on FAILED link. How can i implement that ?

Nikhil Bhoski

unread,
Sep 14, 2023, 2:52:28 AM9/14/23
to Jenkins Developers
Anybody any suggestion please ! I am kinda stuck on this feature in my plugin 

Gavin Mogan

unread,
Sep 15, 2023, 1:44:13 AM9/15/23
to jenkin...@googlegroups.com
I would suspect your question is too vague so most people don't have a quick easy answer to provide.

I would say you have 2 options
1) Make a new doThing function, and goto /action/thing and render a new template with your stacktrace
2) Render the stacktrace in your html, hide it with css, and toggle showing it with javascript (`document.querySelector("selector").classList.toggle("show")`)

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/9c8ce6b7-00da-47b1-b0d6-4d2e9913117an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages