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

Dashboard links broken when inside folder

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a Dashboard view inside a folder with code coverage portlet. Job URLs in that portlet are broken as they use domain relative URLs without leading '/' like 'job/Folder/view/Result/job/Folder/job/my_job/42/' while i should be '/job/Folder/job/my_job/42/' (or '/job/Folder/view/Result/job/my_job/42/').

      On first sight it seems fixable removing href attribute.

      <t:buildLink jobName="${r.parent.name}" job="${r.parent}" number="${r.number}" href="${r.url}" />
      

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/main.jelly
            src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/portlet.jelly
            src/test/java/CoverageTablePortlet/CoverageTablePortletTest.java
            http://jenkins-ci.org/commit/cobertura-plugin/e62282fe43642bf7eedd32082bc27fc7918ead02
            Log:
            [FIXED JENKINS-26410] Dashboard links broken when inside folder

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/main.jelly src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/portlet.jelly src/test/java/CoverageTablePortlet/CoverageTablePortletTest.java http://jenkins-ci.org/commit/cobertura-plugin/e62282fe43642bf7eedd32082bc27fc7918ead02 Log: [FIXED JENKINS-26410] Dashboard links broken when inside folder
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            pom.xml
            http://jenkins-ci.org/commit/cobertura-plugin/4c0b645126c2540feda75e67ae6bf0d8afd2db71
            Log:
            JENKINS-26410 fix pom.xml

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml http://jenkins-ci.org/commit/cobertura-plugin/4c0b645126c2540feda75e67ae6bf0d8afd2db71 Log: JENKINS-26410 fix pom.xml
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            pom.xml
            src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/main.jelly
            src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/portlet.jelly
            src/test/java/CoverageTablePortlet/CoverageTablePortletTest.java
            http://jenkins-ci.org/commit/cobertura-plugin/43441a36485b713c6462ce8b1883af1e5643edfb
            Log:
            Merge pull request #40 from olivergondza/dashboard-link

            [FIXED JENKINS-26410] Dashboard links broken when inside folder

            Compare: https://github.com/jenkinsci/cobertura-plugin/compare/9a8727182f26...43441a36485b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/main.jelly src/main/resources/hudson/plugins/cobertura/dashboard/CoverageTablePortlet/portlet.jelly src/test/java/CoverageTablePortlet/CoverageTablePortletTest.java http://jenkins-ci.org/commit/cobertura-plugin/43441a36485b713c6462ce8b1883af1e5643edfb Log: Merge pull request #40 from olivergondza/dashboard-link [FIXED JENKINS-26410] Dashboard links broken when inside folder Compare: https://github.com/jenkinsci/cobertura-plugin/compare/9a8727182f26...43441a36485b

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: