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

Version 1.355 of Hudson and Jira Plugin 1.21: Images in Jira comments are not showing up.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: jira-plugin
    • Labels:
      None
    • Environment:
      Lunux Redhat on virtual server. Running Jira 4.x and Hudson 1.355
    • Similar Issues:

      Description

      I've noticed that the Jira comments that Hudson adds are missing a
      GIF. The GIF is http://<ServerURL>/nocacheImages/16x16/blue.gif. Should this be images instead of nocacheImages?

        Attachments

          Activity

          Hide
          aheritier Arnaud Héritier added a comment -

          same thing : jira plugin 1.23 with hudson 1.357
          The mega patch :

          Index: src/main/java/hudson/plugins/jira/Updater.java
          ===================================================================
          --- src/main/java/hudson/plugins/jira/Updater.java	(revision 31029)
          +++ src/main/java/hudson/plugins/jira/Updater.java	(working copy)
          @@ -165,7 +165,7 @@
           			boolean wikiStyle, String hudsonRootUrl, String scmComments, boolean recordScmChanges, JiraIssue jiraIssue) {
           		String comment = String.format(
           		    wikiStyle ?
          -		    "Integrated in !%1$snocacheImages/16x16/%3$s! [%2$s|%4$s]\n     %5$s":
          +		    "Integrated in !%1$simages/16x16/%3$s! [%2$s|%4$s]\n     %5$s":
           		    "Integrated in %2$s (See [%4$s])\n    %5$s",
           		    hudsonRootUrl,
           		    build,
          

          While someone understand if this is a problem in the plugin or in hudson
          I'm also using the greenballs plugin
          We should have a redirect : nocacheImages/16x16/blue.gif -> plugin/greenballs/16x16/green.gif
          Others nocacheImages colors doesn't work also.
          But it doesn't work. My hudson is deployed in tomcat.

          Show
          aheritier Arnaud Héritier added a comment - same thing : jira plugin 1.23 with hudson 1.357 The mega patch : Index: src/main/java/hudson/plugins/jira/Updater.java =================================================================== --- src/main/java/hudson/plugins/jira/Updater.java (revision 31029) +++ src/main/java/hudson/plugins/jira/Updater.java (working copy) @@ -165,7 +165,7 @@ boolean wikiStyle, String hudsonRootUrl, String scmComments, boolean recordScmChanges, JiraIssue jiraIssue) { String comment = String .format( wikiStyle ? - "Integrated in !%1$snocacheImages/16x16/%3$s! [%2$s|%4$s]\n %5$s" : + "Integrated in !%1$simages/16x16/%3$s! [%2$s|%4$s]\n %5$s" : "Integrated in %2$s (See [%4$s])\n %5$s" , hudsonRootUrl, build, While someone understand if this is a problem in the plugin or in hudson I'm also using the greenballs plugin We should have a redirect : nocacheImages/16x16/blue.gif -> plugin/greenballs/16x16/green.gif Others nocacheImages colors doesn't work also. But it doesn't work. My hudson is deployed in tomcat.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : olamy
          Path:
          trunk/hudson/plugins/jira/pom.xml
          trunk/hudson/plugins/jira/src/main/java/hudson/plugins/jira/Updater.java
          http://jenkins-ci.org/commit/31034
          Log:
          JENKINS-6462 Version 1.355 of Hudson and Jira Plugin 1.21: Images in Jira comments are not showing up.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : olamy Path: trunk/hudson/plugins/jira/pom.xml trunk/hudson/plugins/jira/src/main/java/hudson/plugins/jira/Updater.java http://jenkins-ci.org/commit/31034 Log: JENKINS-6462 Version 1.355 of Hudson and Jira Plugin 1.21: Images in Jira comments are not showing up.

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              qazwart qazwart
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: