From dd050bb28996b47bf8f75929ab42a66798c71625 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:49:38 +0100 Subject: [PATCH 1/3] Replace old GIFs with symbols * add emojis plugin * remove GIFs --- pom.xml | 4 ++ .../badge/action/AbstractBadgeAction.java | 29 +++++++++----- src/main/webapp/images/completed.gif | Bin 76 -> 0 bytes src/main/webapp/images/db_in.gif | Bin 362 -> 0 bytes src/main/webapp/images/db_out.gif | Bin 364 -> 0 bytes src/main/webapp/images/delete.gif | Bin 351 -> 0 bytes src/main/webapp/images/error.gif | Bin 605 -> 0 bytes src/main/webapp/images/folder.gif | Bin 324 -> 0 bytes src/main/webapp/images/green.gif | Bin 851 -> 0 bytes src/main/webapp/images/info.gif | Bin 267 -> 0 bytes src/main/webapp/images/red.gif | Bin 851 -> 0 bytes src/main/webapp/images/save.gif | Bin 639 -> 0 bytes src/main/webapp/images/success.gif | Bin 100 -> 0 bytes src/main/webapp/images/text.gif | Bin 349 -> 0 bytes src/main/webapp/images/warning.gif | Bin 219 -> 0 bytes src/main/webapp/images/yellow.gif | Bin 851 -> 0 bytes .../badge/action/AbstractBadgeActionTest.java | 36 ++++++++++++++---- 17 files changed, 53 insertions(+), 16 deletions(-) delete mode 100644 src/main/webapp/images/completed.gif delete mode 100644 src/main/webapp/images/db_in.gif delete mode 100644 src/main/webapp/images/db_out.gif delete mode 100644 src/main/webapp/images/delete.gif delete mode 100644 src/main/webapp/images/error.gif delete mode 100644 src/main/webapp/images/folder.gif delete mode 100644 src/main/webapp/images/green.gif delete mode 100644 src/main/webapp/images/info.gif delete mode 100644 src/main/webapp/images/red.gif delete mode 100644 src/main/webapp/images/save.gif delete mode 100644 src/main/webapp/images/success.gif delete mode 100644 src/main/webapp/images/text.gif delete mode 100644 src/main/webapp/images/warning.gif delete mode 100644 src/main/webapp/images/yellow.gif diff --git a/pom.xml b/pom.xml index 64145e19..7ada4605 100644 --- a/pom.xml +++ b/pom.xml @@ -77,6 +77,10 @@ + + io.jenkins.plugins + emoji-symbols-api + io.jenkins.plugins ionicons-api diff --git a/src/main/java/com/jenkinsci/plugins/badge/action/AbstractBadgeAction.java b/src/main/java/com/jenkinsci/plugins/badge/action/AbstractBadgeAction.java index c404fa35..43e4536e 100644 --- a/src/main/java/com/jenkinsci/plugins/badge/action/AbstractBadgeAction.java +++ b/src/main/java/com/jenkinsci/plugins/badge/action/AbstractBadgeAction.java @@ -24,9 +24,9 @@ package com.jenkinsci.plugins.badge.action; import edu.umd.cs.findbugs.annotations.NonNull; -import hudson.PluginWrapper; import hudson.model.Action; -import java.io.File; +import io.jenkins.plugins.emoji.symbols.Emojis; +import io.jenkins.plugins.ionicons.Ionicons; import java.io.IOException; import java.io.Serial; import java.io.Serializable; @@ -95,13 +95,24 @@ public String getIcon() { return icon; } - // try plugin images dir, fallback to Jenkins images dir - PluginWrapper wrapper = Jenkins.get().getPluginManager().getPlugin("badge"); - boolean pluginIconExists = - (wrapper != null) && new File(wrapper.baseResourceURL.getPath() + "/images/" + icon).exists(); - return pluginIconExists - ? "/plugin/" + wrapper.getShortName() + "/images/" + icon - : Jenkins.RESOURCE_PATH + "/images/16x16/" + icon; + // backwards compatible replacement for old GIFs + return switch (icon) { + case "completed.gif" -> "symbol-status-blue"; + case "db_in.gif" -> Ionicons.getIconClassName("cloud-upload-outline"); + case "db_out.gif" -> Ionicons.getIconClassName("cloud-download-outline"); + case "delete.gif" -> "symbol-trash"; + case "error.gif" -> "symbol-status-red"; + case "folder.gif" -> "symbol-folder"; + case "green.gif" -> Emojis.getIconClassName("green_square"); + case "info.gif" -> "symbol-information-circle"; + case "red.gif" -> Emojis.getIconClassName("red_square"); + case "save.gif" -> Ionicons.getIconClassName("save-outline"); + case "success.gif" -> "symbol-status-blue"; + case "text.gif" -> "symbol-document-text"; + case "warning.gif" -> "symbol-status-yellow"; + case "yellow.gif" -> Emojis.getIconClassName("yellow_square"); + default -> Jenkins.RESOURCE_PATH + "/images/16x16/" + icon; + }; } @Whitelisted diff --git a/src/main/webapp/images/completed.gif b/src/main/webapp/images/completed.gif deleted file mode 100644 index 23c97f09e677bb8812b26d4415fd97997e5c95a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 76 zcmZ?wbhEHb6krfwn8?f!yfVYEKB{JS)&Kwh6@RiYGB7YR=r8~QNS=X7c257w({Jy) dG&pl*gzr#W|He>ggQJQAZ^o%@>w*~=tO0mX7=r)+ diff --git a/src/main/webapp/images/db_in.gif b/src/main/webapp/images/db_in.gif deleted file mode 100644 index 75978cb31068b2bca5991d8ccc56f5d39c97b9fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 362 zcmZ?wbhEHb6krfwxXQqw>C~+6*(~Wa?evwW$Ijh#O6c{>n5G#q%{pU2MDy0w`>*al zb@l3l*Nx$8YTEv*ryjh1@$Tc* z*Iy+Ir}eJhdg}G-2VcL6WxGn`x=G}^%M^IZ6nH5V`k--`O Di>H#a diff --git a/src/main/webapp/images/db_out.gif b/src/main/webapp/images/db_out.gif deleted file mode 100644 index c9dddb5be056270fd0c5213f0be66c3f597fa81f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmV-y0h9hmNk%w1VGsZi0M!5hAw8cYK%yW&pCmz|CPk$yN~k48r6onAB}SwyPOLFf zt~6J&G+44YUA8GggEd>UFG+)(sKUg|-5Elb$J6SeugOASjY(*h%Gc}H;qWO~mO6UM zJ7}OifXzRH&p(6CKZMR$gSD%_)kTfizsl9s;OpY(?o659O_|?KnBGm9-j=JsSbCOP zuI^i|?(OmPHE4}vy!l{_t8tB>aiG7ezsi=s)ym-O=-8CNmW`{m%IoXk_4WV% z{{R30A^8LW002G!EC2ui01yBW000JwK%a0(EDl2!iv|J-8HFL5tydz|R!$>CO0}*a zPX|nvtL#~CJeu|Z diff --git a/src/main/webapp/images/delete.gif b/src/main/webapp/images/delete.gif deleted file mode 100644 index 0ae6decd03fb76703952b2cc8eaf9e41ed577933..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 351 zcmZ?wbhEHb6krfwxXQqA+}QL>Vab=`lFvmYpNmUxXz4%DF}bf}d|cDunVH>FGrOY- z+D{EEKZPcINzVS9ob?$uHn=&y~n$8D`1 z2l;<(sQc1T_xQ+>|Ns9p5DgT6vM@3*7&7R9bb$QCz*ci$MuCTpRKMGd^bncK1eb^v zqDfrti^MpzbSB1VUt0b}aql73M;xvKD|}WtK1fk5iV!?;_@hVR1O_f%UNKGv4?_+f zX(=fl4i6boi78XK>s@7pr?3jKN=S;#aFP{YATA>-vrJN4*4aRuZH4n{cJUaejf`pRz&mESrV9wbJ8Ei3w5S@O2B^hbBc$DYnl zX=$JHbKf>KeDCi3(BArg|Nh(Cwmm*_~2OlZBCi!Hq!&D~j&@(pH(|2ie(>FG^H!`v}H`Z@8Ft#x>wX`%bv@$kmb~bjjuyeKBu-?(wxk*XH z+Sb;|)z;O?)=}c%)WK|JUG>I`dsK~~2r2P% raLBZEcF8!&@<{PaoHR+wSx%B`=B%0AlCIJV7B2E#vUJ%JM+R#E_+M?1 diff --git a/src/main/webapp/images/green.gif b/src/main/webapp/images/green.gif deleted file mode 100644 index e8e295f6e456e586a0c05d7b96f9f1617bb554d9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 851 zcmb`Gu}WNF5QS$!VF?%(Oeu(+h%Cr7hBOI+i3r+=eVPF~OUo-*g+MUfbjBy}5w@`i zOcnA5d5Dzbcm8K^V7WUxGiS~@bNBPf@!|Wg3tQNKQ%vJCjmJbbDORgh^Lty52T#5c z{Pud`W?`0QrA=h+=3$=ZW!@@=TZBbgltrsI-7+lGvMgJp0DGC5J1EhEv#TC%FF##iLRf?{@M<0DRE0K90&Xw+gQen69H z?0^%3Q3z|mAk8GS;K5?Bfo`2h-IU3R=3*F$KGu@ec**4JxVMVqgtB>DMZLplxjwwp z=&(aa7z%|nNb4qphkyq(uLD=YJT$RtUvIPi3pPKr*?jBE)5FL0`R3lm&GoONyN&JT q_uYe?=WlP8mw$Kf{~i5!`{`_Ly5ITzb8-Io?&{CO>FsQ0A6@_}7i`=B diff --git a/src/main/webapp/images/info.gif b/src/main/webapp/images/info.gif deleted file mode 100644 index b484d9be1e917785697228f3ef152565b86c92d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 267 zcmZ?wbhEHb6krfwIKsg2@8AEApT2(j{FTYA=kLG&93eBfW9Re4%;!s55;|f3whK>w z{r&&t_y6yI{=fb7_1mBSZ$5qf`S<^yfB&a#JNos{{~v$xn9wXibK(9+Q} K*s7|?U=0A|A#j=i diff --git a/src/main/webapp/images/red.gif b/src/main/webapp/images/red.gif deleted file mode 100644 index c201c83e6b658d9762149b5943fcd821e4fa1369..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 851 zcmb`Gu}WNF5QS&KVpBvGvTWiT8Jkp~)S}Z7Lc&2B0wn))i;gw$H)o^6gJG|4oyx9tCz#t7v zXi;M^*g%8Da7&PKA|ooIrH{2_nUNLQk_!upl~EPdsD~82(HULQ$iok4GL0SRhXe{? z4H%?hNh>^93^veUwVYF#oT$u}k?3PBSyfi!D{^5$F}t$y5vMT#UbJI0YOxYOpvg3L zzzM-9gf(E0W)fQPU@_Q0w@##P%H%|IF^ohXYsqT7Wb$>~Tg7og**vbI-eI&{AKqzn z*r6i~g+dynb(6tEzyq4sfh%DinppK&Z?pajHs7<^{L{C`ht=AAWB20n*Pp}dk6X*z ooiE!@Hy@VY|L@$r9R6NEI9r?Uwx918=YKbU{(CsRn$7I%8$?EJS^xk5 diff --git a/src/main/webapp/images/save.gif b/src/main/webapp/images/save.gif deleted file mode 100644 index 499dd0ca6021c351c641053be30eecb5b4a7e7e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 639 zcmZ?wbhEHb6krfwc*el+6w~t;=?ud9vy7?cE^q z*1q%4_Md-x_|o&km!6%t_VVPl7w2!kK6mTY)%$O+-hXrZ@w-PaKBPA<&u(2-(6RIc zNcPq9H=oX5zOnP@<=ao*J$&)u*_+SB-Al@Q7r*)NC8Bg+ zz;2_n+r|KMbN2{G6a4_&{kGN)4gvc5juAGR#sRMOu1@w&t^vlzRuN`KMgigX?uQ4k zYgk5@s;SFPcrC52W*VWRCnlyRuKMMRsEVpigru?tONzsU2OVNcZfg!)N^s&3;9>A! zDQIQv=+@exGeO}YGc&uwQjf$B2b)>gB6wUn7Bn7go*uf&AmXGW<1{9LBBLK|iZAeJ_P=>~(_r-`SJ62+pK*(^AAm4c5K#~(~CBr zU$Nuznmt$VKL7sY&CloWe!l(m>+`qYcb#j0_BB3_2hs zAU`p%RXNNq@X!&8J)v?*qeO7tg_+%)w^_KZF|7S&w8(_>$ialnizzFTas*DgFiiZR z5E_#x!R=bn6DS%fAi&hzBB0``Dq2yM#3ridsxHnyWh%e8x~mdjcQqTIva5o~lBG)( hUFC%5_6p0p$_NSZZrLg%<0`vr_a0fF{mzaI)&RuOq0ayS diff --git a/src/main/webapp/images/warning.gif b/src/main/webapp/images/warning.gif deleted file mode 100644 index a01bb24b756f3d977ae982f98627de1bda74d021..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 219 zcmZ?wbhEHb6krfwI3map5n-`oM})e%goFftNQkkkjpT&dh@v7lGc!eXB|cXhtsggL z?AS5m$Bl@J3X2~JYf3h$#FbFc}fYgKRWMGX*Q0Ys_?BXe&)$@48 z>lY^d!ix_EAAW7au~kC(`|Yn8%!iT_lb_0U96l5=>m^5|VcX1u#fG&#MGOk{jST`R=4y%z)&L2ZM4A8q diff --git a/src/main/webapp/images/yellow.gif b/src/main/webapp/images/yellow.gif deleted file mode 100644 index 799fd23a11545662b1e262fb4066d430868c9097..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 851 zcmb`Gu}WNF5QS$U!h$FZS_Z^UM1(Mn!Ab;U2xuerHUoB+DX(B9LeOqHlPAa{Y-16a zN_+z!BIV>e|1)G@xjQ>EXU;iu_siFlgU?qBTi9PyOye_+$3!+Mmdj=Hds~kOPrecS z_W#1o!Ys{7o5m;%1TVF-8!t(x}Ys! zL4(CG-K{-}a8LJgZ>=SZ@JNsHXtAJ};hCQ0*&;=6g;#o&SHqD}@9<9V@@6Zn0fRIw zp+$|wU;_;n!!1F|iHxX-mOj>!WkyzHOD-%ZRz_7+qaIT9MrU+IBM(2I$uxGL9}*~p zHDHj2C9UvaG1x$Z)pAZ{a-uR@Mxu|kWK~&>ugHZ3#q7$)N1Vn0c+rm0sKrYBfF{$} z0Vf2b5Y~V}nn`HEgT-J2-8zxFDU%b;#V`_mtR<`QlF8R`ZxzQ0W%Ia-dWX?+eR!wQ zVTX<|6bfmO)=dTv0S{t<8 diff --git a/src/test/java/com/jenkinsci/plugins/badge/action/AbstractBadgeActionTest.java b/src/test/java/com/jenkinsci/plugins/badge/action/AbstractBadgeActionTest.java index 0be8f6ca..43ca328e 100644 --- a/src/test/java/com/jenkinsci/plugins/badge/action/AbstractBadgeActionTest.java +++ b/src/test/java/com/jenkinsci/plugins/badge/action/AbstractBadgeActionTest.java @@ -32,6 +32,8 @@ import hudson.markup.EscapedMarkupFormatter; import hudson.markup.MarkupFormatter; import hudson.markup.RawHtmlMarkupFormatter; +import io.jenkins.plugins.emoji.symbols.Emojis; +import io.jenkins.plugins.ionicons.Ionicons; import java.io.IOException; import java.io.Writer; import jenkins.model.Jenkins; @@ -81,14 +83,34 @@ void icon(@SuppressWarnings("unused") JenkinsRule r) { action.setIcon("https://host.domain/icon.png"); assertEquals("https://host.domain/icon.png", action.getIcon()); + action.setIcon("completed.gif"); + assertEquals("symbol-status-blue", action.getIcon()); + action.setIcon("db_in.gif"); + assertEquals(Ionicons.getIconClassName("cloud-upload-outline"), action.getIcon()); + action.setIcon("db_out.gif"); + assertEquals(Ionicons.getIconClassName("cloud-download-outline"), action.getIcon()); + action.setIcon("delete.gif"); + assertEquals("symbol-trash", action.getIcon()); + action.setIcon("error.gif"); + assertEquals("symbol-status-red", action.getIcon()); + action.setIcon("folder.gif"); + assertEquals("symbol-folder", action.getIcon()); + action.setIcon("green.gif"); + assertEquals(Emojis.getIconClassName("green_square"), action.getIcon()); action.setIcon("info.gif"); - - // work around some odd behavior in local tests - if (Jenkins.get().getPluginManager().getPlugin("badge") != null) { - assertEquals("/plugin/badge/images/info.gif", action.getIcon()); - } else { - assertEquals(Jenkins.RESOURCE_PATH + "/images/16x16/info.gif", action.getIcon()); - } + assertEquals("symbol-information-circle", action.getIcon()); + action.setIcon("red.gif"); + assertEquals(Emojis.getIconClassName("red_square"), action.getIcon()); + action.setIcon("save.gif"); + assertEquals(Ionicons.getIconClassName("save-outline"), action.getIcon()); + action.setIcon("success.gif"); + assertEquals("symbol-status-blue", action.getIcon()); + action.setIcon("text.gif"); + assertEquals("symbol-document-text", action.getIcon()); + action.setIcon("warning.gif"); + assertEquals("symbol-status-yellow", action.getIcon()); + action.setIcon("yellow.gif"); + assertEquals(Emojis.getIconClassName("yellow_square"), action.getIcon()); action.setIcon("blue.gif"); assertEquals(Jenkins.RESOURCE_PATH + "/images/16x16/blue.gif", action.getIcon()); From 8fdbe8f867ee7c488d74d5e56a8297803d2fac42 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:23:43 +0100 Subject: [PATCH 2/3] Update documentation --- .../plugins/badge/dsl/AddBadgeStep/help-icon.html | 14 +++++++------- .../badge/dsl/AddSummaryStep/help-icon.html | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddBadgeStep/help-icon.html b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddBadgeStep/help-icon.html index 1f83a278..f86973ca 100644 --- a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddBadgeStep/help-icon.html +++ b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddBadgeStep/help-icon.html @@ -1,13 +1,13 @@

- The plugin supports symbols from the ionicons library through the ionicons-api-plugin. - More symbols can be added by installing additional plugins, such as font-awesome-api-plugin or custom-folder-icon-plugin. + The plugin supports symbols from the Ionicons API as well as the Emoji Symbols API. + More symbols can be added by installing additional plugins, such as Font Awesome API or IT Symbols API. Symbols from plugins are referenced as "symbol-icon-name plugin-plugin-name" and Jenkins Core icons as "icon-icon-name" or "symbol-icon-name" - see Jenkins Design Library for more details. For example, the following are all valid references to symbols:

  • addBadge icon: 'symbol-alert-circle-outline plugin-ionicons-api', text: 'This is an alert symbol'
  • addBadge icon: 'symbol-bar-chart-filled plugin-ionicons-api', text: 'This is a bar chart symbol'
  • -
  • addBadge icon: 'symbol-battery-half-sharp plugin-ionicons-api', text: 'This is a half filled battery symbol'
  • +
  • addBadge icon: 'symbol-sloth plugin-emoji-symbols-api', text: 'This is a sloth symbol'
  • addBadge icon: 'symbol-cube', text: 'This is a Jenkins Core symbol'
  • addBadge icon: 'icon-gear', text: 'This is a Jenkins Core icon'
@@ -23,13 +23,13 @@

- The plugin includes icons as GIF images and also supports the 16x16 icons that are offered by Jenkins. + The plugin also supports the 16x16 icons that are offered by Jenkins. These icons are listed in the plugin documentation and are referenced as "image-name.gif". For example, the following are all valid references to icons included with the plugin:

    -
  • addBadge icon: 'completed.gif', text: 'This is a completed symbol'
  • -
  • addBadge icon: 'success.gif', text: 'This is a success icon'
  • -
  • addBadge icon: 'warning.gif', text: 'This is a warning icon'
  • +
  • addBadge icon: 'aborted.gif', text: 'This is a aborted symbol'
  • +
  • addBadge icon: 'folder-open.gif', text: 'This is a folder icon'
  • +
  • addBadge icon: 'document_edit.gif', text: 'This is a document icon'

diff --git a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html index 6e39977d..aaf5d222 100644 --- a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html +++ b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html @@ -1,13 +1,13 @@

- The plugin supports symbols from the ionicons library through the ionicons-api-plugin. - More symbols can be added by installing additional plugins, such as font-awesome-api-plugin or custom-folder-icon-plugin. + The plugin supports symbols from the Ionicons API as well as the Emoji Symbols API. + More symbols can be added by installing additional plugins, such as Font Awesome API or IT Symbols API. Symbols from plugins are referenced as "symbol-icon-name plugin-plugin-name" and Jenkins Core icons as "icon-icon-name" or "symbol-icon-name" - see Jenkins Design Library for more details. For example, the following are all valid references to symbols:

  • addSummary icon: 'symbol-alert-circle-outline plugin-ionicons-api', text: 'This is an alert symbol'
  • addSummary icon: 'symbol-bar-chart-filled plugin-ionicons-api', text: 'This is a bar chart symbol'
  • -
  • addSummary icon: 'symbol-battery-half-sharp plugin-ionicons-api', text: 'This is a half filled battery symbol'
  • +
  • addSummary icon: 'symbol-sloth plugin-emoji-symbols-api', text: 'This is a sloth symbol'
  • addSummary icon: 'symbol-cube', text: 'This is a Jenkins Core symbol'
  • addSummary icon: 'icon-gear', text: 'This is a Jenkins Core icon'
@@ -27,9 +27,9 @@ These icons are listed in the plugin documentation and are referenced as "image-name.gif". For example, the following are all valid references to icons included with the plugin:
    -
  • addSummary icon: 'completed.gif', text: 'This is a completed symbol'
  • -
  • addSummary icon: 'success.gif', text: 'This is a success icon'
  • -
  • addSummary icon: 'warning.gif', text: 'This is a warning icon'
  • +
  • addSummary icon: 'aborted.gif', text: 'This is a aborted symbol'
  • +
  • addSummary icon: 'folder-open.gif', text: 'This is a folder icon'
  • +
  • addSummary icon: 'document_edit.gif', text: 'This is a document icon'

From be42a0b5f2d32a149edd1cdb24f2eb105994a90f Mon Sep 17 00:00:00 2001 From: Martin Pokorny <89339813+mPokornyETM@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:55:09 +0100 Subject: [PATCH 3/3] Update src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html Co-authored-by: Mark Waite --- .../jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html index aaf5d222..c9e06117 100644 --- a/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html +++ b/src/main/resources/com/jenkinsci/plugins/badge/dsl/AddSummaryStep/help-icon.html @@ -25,7 +25,7 @@

The plugin includes icons as GIF images and also supports the 16x16 icons that are offered by Jenkins. These icons are listed in the plugin documentation and are referenced as "image-name.gif". - For example, the following are all valid references to icons included with the plugin: + For example, the following are all valid references to icons that can be used with the plugin:

  • addSummary icon: 'aborted.gif', text: 'This is a aborted symbol'
  • addSummary icon: 'folder-open.gif', text: 'This is a folder icon'