• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • clover-plugin
    • None

      Clover icon (shown on project configuration page near "Automatically record and report Code Coverage using Clover.." text) can have wrong path on some containers. It's missing context path. Patch is attached.

          [JENKINS-7795] Clover icon can have wrong path

          vjuranek added a comment -

          ops, I've missed that ICON is static final, so the patched I proposed is not the correct fix of this bug. Unfortunately, Hudson uses servlet-api 2.4, which means that e.g. Hudson.getInstance().servletContext.getContextPath() cannot be used...

          vjuranek added a comment - ops, I've missed that ICON is static final , so the patched I proposed is not the correct fix of this bug. Unfortunately, Hudson uses servlet-api 2.4, which means that e.g. Hudson.getInstance().servletContext.getContextPath() cannot be used...

          sogabe added a comment -

          sogabe added a comment - Fixed. See https://github.com/jenkinsci/clover-plugin/commit/33ff0f9342e037b066b1933258badb2767e6d404

            sogabe sogabe
            vjuranek vjuranek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: