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

Dashboard View plugin v2.6 broke URL path to build stability images.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • dashboard-view-plugin
    • None
    • Running on Tomcat 7 under Ubuntu 12.10
      Jenkins 1.515
      Dashboard View v2.6

      Using the Unstable build widget, the URL for the build stability image is wrong.

      Other images have the root context "/jenkins" included and work fine such as:
      <img title="Failed" alt="Failed" src="/jenkins/static/cdc23470/images/16x16/red.png">

      The build stability does not, as in:
      <img title="Build stability: 2 out of the last 4 builds failed." alt="Build stability: 2 out of the last 4 builds failed." src="/static/cdc23470/images/16x16/health-40to59.png">

          [JENKINS-18049] Dashboard View plugin v2.6 broke URL path to build stability images.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/resources/hudson/plugins/view/dashboard/jobLink.jelly
          http://jenkins-ci.org/commit/dashboard-view-plugin/cb0b3544f19e5fbc1bc0a1d2cac9cb0e20d2ae7a
          Log:
          [FIXED JENKINS-18049] Curiously HealthReport.getIconUrl omits the context path, unlike StatusIcon.getImageOf.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/resources/hudson/plugins/view/dashboard/jobLink.jelly http://jenkins-ci.org/commit/dashboard-view-plugin/cb0b3544f19e5fbc1bc0a1d2cac9cb0e20d2ae7a Log: [FIXED JENKINS-18049] Curiously HealthReport.getIconUrl omits the context path, unlike StatusIcon.getImageOf.

          Jesse Glick added a comment -

          BTW the plugin parent POM as of 1.505 defines <contextPath>/jenkins</contextPath> which makes mistakes like this show up more readily during interactive testing.

          Jesse Glick added a comment - BTW the plugin parent POM as of 1.505 defines <contextPath>/jenkins</contextPath> which makes mistakes like this show up more readily during interactive testing.

          Jeff VIncent added a comment -

          Any idea when the next release will be that will include this?

          Jeff VIncent added a comment - Any idea when the next release will be that will include this?

          @predatorvi I have it in my update center

          Arnaud Héritier added a comment - @predatorvi I have it in my update center

            jglick Jesse Glick
            predatorvi Jeff VIncent
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: