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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: dashboard-view-plugin
    • Labels:
      None
    • Environment:
      Running on Tomcat 7 under Ubuntu 12.10
      Jenkins 1.515
      Dashboard View v2.6
    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.
            Hide
            jglick 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.

            Show
            jglick 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.
            Hide
            predatorvi Jeff VIncent added a comment -

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

            Show
            predatorvi Jeff VIncent added a comment - Any idea when the next release will be that will include this?
            Hide
            aheritier Arnaud Héritier added a comment -

            @predatorvi I have it in my update center

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: