Get link to Sonar dashboard in Jenkins when calling 'gradle sonarRunner' Get link to Sonar dashboard in Jenkins when calling 'gradle sonarRunner' jenkins jenkins

Get link to Sonar dashboard in Jenkins when calling 'gradle sonarRunner'


Sidebar-Link Plugin to the rescue!

  1. Install the plugin.
  2. Put the sonar icon into /var/lib/jenkins/userContent. That's inside JENKINS_HOME. If you don't know where JENKINS_HOME is, take a look in the config file at /etc/default/jenkins.

  3. Set up the link like this in thejob's configuration (your URL will be different): sidebar link config

  4. Done