Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21723

Findbugs plugin uses absolute URL for link to report

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Environment:

      The jenkins findbugs plugin draws a graph with red and yellow on it for high and low priority issues.

      Clicking on this report takes me to the findbugs report.

      This link seems to use an absolute, not a relative URI.

      Bug:

      If the jenkins server is multihomed, or accessed over a socks proxy, or by any other means other than simple network access, the link does not work because the "one and only" server name is not resolvable from that client.

      Editing the browser URL appropriately to point to the client-accessible name of the jenkins server provides access to the report. Navigating within the report also works just fine.

      Solution:

      Most other links in jenkins use relative links, and so work fine. Please can this one use a relative link too.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment - - edited

            Does the column that links to the latest stable build work? It also uses an absolute URL: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/views/LastStableColumn/column.jelly

            Show
            drulli Ulli Hafner added a comment - - edited Does the column that links to the latest stable build work? It also uses an absolute URL: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/views/LastStableColumn/column.jelly
            Hide
            markewaite Mark Waite added a comment -

            In my ssh tunnel environment, when I add a column to my view for "Last Stable", it works fine through the ssh tunnel.

            Show
            markewaite Mark Waite added a comment - In my ssh tunnel environment, when I add a column to my view for "Last Stable", it works fine through the ssh tunnel.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: analysis-core http://jenkins-ci.org/commit/analysis-suite-plugin/4de7016230755de965d455bf30210ef348e1aeb9 Log: JENKINS-21723 Use relative links in trend graphs. Compare: https://github.com/jenkinsci/analysis-suite-plugin/compare/aae7bc3ef2a3...4de701623075
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/analysis/graph/BuildResultGraph.java
            src/main/java/hudson/plugins/analysis/graph/GraphConfigurationView.java
            http://jenkins-ci.org/commit/analysis-core-plugin/cb09e772d7afdb8b7a6a6ac1de04174045713593
            Log:
            JENKINS-21723 Use relative links in trend graphs.

            Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/54244a7452b4...cb09e772d7af

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/graph/BuildResultGraph.java src/main/java/hudson/plugins/analysis/graph/GraphConfigurationView.java http://jenkins-ci.org/commit/analysis-core-plugin/cb09e772d7afdb8b7a6a6ac1de04174045713593 Log: JENKINS-21723 Use relative links in trend graphs. Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/54244a7452b4...cb09e772d7af
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/test/java/plugins/AbstractAnalysisTest.java
            src/test/java/plugins/CheckStylePluginTest.java
            src/test/java/plugins/FindbugsPluginTest.java
            src/test/java/plugins/PmdPluginTest.java
            http://jenkins-ci.org/commit/acceptance-test-harness/85dfc48df9dcdb0164d4f2d47d188841b8a8e4a7
            Log:
            JENKINS-21723 Use relative links in trend graphs.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/test/java/plugins/AbstractAnalysisTest.java src/test/java/plugins/CheckStylePluginTest.java src/test/java/plugins/FindbugsPluginTest.java src/test/java/plugins/PmdPluginTest.java http://jenkins-ci.org/commit/acceptance-test-harness/85dfc48df9dcdb0164d4f2d47d188841b8a8e4a7 Log: JENKINS-21723 Use relative links in trend graphs.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                shevek Shevek .
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: