• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • badge-plugin
    • None

      After upgrading badge-plugin to 1.5, the text on existing summary badges is not displayed. For example, in the attached image, all text next to the green checkmark icon is missing.

       

      After rolling back to 1.4, text shows back up.  

      This appears to affect past summaries badges created with postbuild-groovy as well as newer ones created with badge-plugin.  In both cases, badges were created using pipeline shared libs to attach badges to a build which is related to the current build. Here is a related snippet from the pipeline code:

      BadgeSummaryAction summary = new BadgeSummaryAction("images/48x48/${summaryIcon}")
      summary.appendText("<a href=\"${linkUrl}\"\">${description}</a> ${actionTime}", false)
      build.addAction(summary) 

      Note: I have not attempted to create a badge using 1.5 to see if its text would show up.

       

      Edit 1: Jenkins version 2.134

          [JENKINS-52802] BadgeSummaryAction text missing in 1.5

          Chris Russell created issue -
          Chris Russell made changes -
          Description Original: After upgrading badge-plugin to 1.5, the text on existing summary badges is not displayed. For example, in the attached image, all text next to the green checkmark icon is missing.

            !Screen Shot 2018-07-30 at 1.38.01 PM.png|width=293,height=52!

          After rolling back to 1.4, text shows back up.  

          This appears to affect past summaries badges created with postbuild-groovy as well as newer ones created with badge-plugin.  In both cases, badges were created using pipeline shared libs to attach badges to a build which is related to the current build. Here is a related snippet from the pipeline code:


          {code:java}
          BadgeSummaryAction summary = new BadgeSummaryAction("images/48x48/${summaryIcon}")
          summary.appendText("<a href=\"${linkUrl}\"\">${description}</a> ${actionTime}", false)
          build.addAction(summary) {code}
          Note: I have not attempted to create a badge using 1.5 to see if its text would show up.
          New: After upgrading badge-plugin to 1.5, the text on existing summary badges is not displayed. For example, in the attached image, all text next to the green checkmark icon is missing.

            !Screen Shot 2018-07-30 at 1.38.01 PM.png|width=293,height=52!

          After rolling back to 1.4, text shows back up.  

          This appears to affect past summaries badges created with postbuild-groovy as well as newer ones created with badge-plugin.  In both cases, badges were created using pipeline shared libs to attach badges to a build which is related to the current build. Here is a related snippet from the pipeline code:
          {code:java}
          BadgeSummaryAction summary = new BadgeSummaryAction("images/48x48/${summaryIcon}")
          summary.appendText("<a href=\"${linkUrl}\"\">${description}</a> ${actionTime}", false)
          build.addAction(summary) {code}
          Note: I have not attempted to create a badge using 1.5 to see if its text would show up.

           

          Edit 1: Jenkins version 2.134
          Marc Brugger made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Marc Brugger made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            bakito Marc Brugger
            crussell52 Chris Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: