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

BadgeSummaryAction text missing in 1.5

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: