Badge
The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
Table of Contents
- Badge
addBadge: Add BadgeaddErrorBadge: Add Error BadgeaddHtmlBadge: Add a html badge TextaddInfoBadge: Add Info BadgeaddShortText: Add Short TextaddWarningBadge: Add Warning BadgecreateSummary: Print MessageremoveBadges: Remove BadgesremoveHtmlBadges: Remove Html BadgesremoveSummaries: Remove Summaries
Badge
addBadge: Add Badge
icon- Type:
String
- Type:
text- Type:
String
- Type:
id(optional)- Type:
String
- Type:
link(optional)- Type:
String
- Type:
addErrorBadge: Add Error Badge
text- Type:
String
- Type:
id(optional)- Type:
String
- Type:
link(optional)- Type:
String
- Type:
addHtmlBadge: Add a html badge Text
html- Type:
String
- Type:
id(optional)- Type:
String
- Type:
addInfoBadge: Add Info Badge
text- Type:
String
- Type:
id(optional)- Type:
String
- Type:
link(optional)- Type:
String
- Type:
addShortText: Add Short Text
text- Type:
String
- Type:
background(optional)- Type:
String
- Type:
border(optional)- Type:
int
- Type:
borderColor(optional)- Type:
String
- Type:
color(optional)- Type:
String
- Type:
link(optional)- Type:
String
- Type:
addWarningBadge: Add Warning Badge
text- Type:
String
- Type:
id(optional)- Type:
String
- Type:
link(optional)- Type:
String
- Type:
createSummary: Print Message
icon- Type:
String
- Type:
id(optional)- Type:
String
- Type:
text(optional)- Type:
String
- Type:
removeBadges: Remove Badges
id(optional)- Type:
String
- Type:
removeHtmlBadges: Remove Html Badges
id(optional)- Type:
String
- Type:
removeSummaries: Remove Summaries
id(optional)- Type:
String
- Type:
https://jenkins.io/doc/pipeline/steps/badge/

浙公网安备 33010602011771号