Get link to Sonar dashboard in Jenkins when calling 'gradle sonarRunner'
Sidebar-Link Plugin to the rescue!
- Install the plugin.
Put the sonar icon into
/var/lib/jenkins/userContent
. That's insideJENKINS_HOME
. If you don't know whereJENKINS_HOME
is, take a look in the config file at/etc/default/jenkins
.Set up the link like this in thejob's configuration (your URL will be different):
- Done