Reputation: 125
I'm using Description Setter Plugin for adding an hyper link to a network folder. In Set build description --> Description, I've added the following:
<a href="\\server\folder1\folder2\folder3">[Release]</a>
When job is finished, I can see the link but when pressing it, nothing happens. If I copy the path to browser's url, it will open the relevant path (but via Jenkins it doesn't).
Any ideas what am I doing wrong?
** With a custom HTML page it works.
Upvotes: 3
Views: 1048
Reputation: 41
You are either using Plain Text or Safe HTML formatter.
Unfortunately the only HTML formatter than can parse the file links is the anything-goes formatter, which is very unsafe - javascripts are also allowed, and anyone can add harmful code to their user's description for example.
To use it, download the anything-goes-formatter plugin, go to
Manage Jenkins -> Configure Global Security -> Markup Formatter
change to Allows arbitrary HTML includin [sic] JavaScript (UNSAFE).
Upvotes: 4