Adds one or more info badges to the current Pipeline build.
Info badges text messages with an icon and an optional clickable hyperlink.
Info badges are often used to provide a visual indicator of additional status information about a Pipeline build.
Info badges added by addInfoBadge
are displayed in the build history of the Pipeline job.
The following example adds an info badge with the text, "This is interesting":
addInfoBadge text: 'This is interesting'
Example: Badge with text and link
The following example adds an info badge with the text, "This is interesting" and a link:
addInfoBadge text: 'This is interesting', link: 'https://plugins.jenkins.io/custom-folder-icon'