Accessing current path from inside Plugin

16 views
Skip to first unread message

simon

unread,
Dec 16, 2021, 4:38:54 AM12/16/21
to jenkin...@googlegroups.com
Hello,

how can I access the current request path* from inside a class extending `hudson.model.Action`? I would like to extend the sidebar link plugin to add a reference to the url.

Regards,
Simon

* e.g. job/<job-name>/ or view/<group>/job/<job-name>/

Daniel Beck

unread,
Dec 16, 2021, 4:49:13 AM12/16/21
to jenkin...@googlegroups.com
On Thu, Dec 16, 2021 at 10:38 AM 'simon' via Jenkins Developers <jenkin...@googlegroups.com> wrote:
how can I access the current request path* from inside a class extending `hudson.model.Action`? I would like to extend the sidebar link plugin to add a reference to the url.

Reply all
Reply to author
Forward
0 new messages