SonarQube Jenkins
  1. SonarQube Jenkins
  2. SONARJNKNS-176

Url to Sonar project dashboard not added to project side bar with Freestyle Job

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:
      Jenkins 1.44.0
      Jenkins Sonar Plugin 1.7.1
    • Number of attachments :
      0

      Description

      I have recently upgraded Sonar to 2.11 and the Jenkins Sonar plugin, and I noticed that the plugin no longer adds the "Sonar" link to the project sidebar and the main pane. My project does not use Maven, so I use the Sonar build step to run it. I am not sure if this is a regression issue.

        Issue Links

          Activity

          Hide
          Marco Medrano added a comment -

          Somebody knows some workaround? or somebody knows Which version of this plugin does not have this issue?

          Show
          Marco Medrano added a comment - Somebody knows some workaround? or somebody knows Which version of this plugin does not have this issue?
          Hide
          Dominik Bartholdi added a comment -

          workaround: as the link is static for each project, you might be able to add a link with this Jenkins plugin:
          https://wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link+Plugin

          Show
          Dominik Bartholdi added a comment - workaround: as the link is static for each project, you might be able to add a link with this Jenkins plugin: https://wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link+Plugin
          Hide
          Julien HENRY added a comment -

          There is no easy way to "guess" then Sonar project URL as it depends on sonar.projectKey / sonar.branch that can be defined at several locations. Another option would be to implement SONARPLUGINS-2814.

          Show
          Julien HENRY added a comment - There is no easy way to "guess" then Sonar project URL as it depends on sonar.projectKey / sonar.branch that can be defined at several locations. Another option would be to implement SONARPLUGINS-2814 .
          Hide
          Julien HENRY added a comment -

          Implemented thanks to SONARPLUGINS-2814

          Show
          Julien HENRY added a comment - Implemented thanks to SONARPLUGINS-2814
          Hide
          Fabrice Bellingard added a comment -

          Actually, with Freestyle jobs (Maven+PostBuildAction or SonarRunner), I get the following behaviour: the icon/link is not displayed afer a first successful analysis, but if click on "Configure" and just "Save" without any modification, then the icon/link magically appears...

          Show
          Fabrice Bellingard added a comment - Actually, with Freestyle jobs (Maven+PostBuildAction or SonarRunner), I get the following behaviour: the icon/link is not displayed afer a first successful analysis, but if click on "Configure" and just "Save" without any modification, then the icon/link magically appears...
          Hide
          Julien HENRY added a comment -

          Should be fixed now

          Show
          Julien HENRY added a comment - Should be fixed now
          Hide
          Fabrice Bellingard added a comment -

          Perfect!
          Tested.

          Show
          Fabrice Bellingard added a comment - Perfect! Tested.
          Hide
          Julien HENRY added a comment -

          IT added

          Show
          Julien HENRY added a comment - IT added

            People

            • Assignee:
              Julien HENRY
              Reporter:
              Anthony Wat
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: