[Groovy Postbuild] Place link to other view/job in build summary

12 views
Skip to first unread message

Marcin Zajączkowski

unread,
Feb 6, 2017, 8:18:34 AM2/6/17
to Jenkins Developers
Hi,

I would like to make a reference to an other view or job (optionally also a run) from a build/run summary page using Groovy postbuild. I know I can take an URL for a view (with getAbsoluteUrl()) and put it directly as a link, but it 's quite ugly and has side effects. I wonder if there is a better way.

What is a recommenced way to put a link to a view or a job (having a reference to a View or Job already) on a build summary page?

Marcin

--
http://blog.solidsoft.info - Solid Soft - Working code is not enough

Reply all
Reply to author
Forward
0 new messages