• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • cobertura-plugin
    • None

      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}" />
      

          [JENKINS-26410] Dashboard links broken when inside folder

          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

          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

          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

          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

          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

          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

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

              Created:
              Updated:
              Resolved: