Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into refactoring_for_new_major_version
Browse files Browse the repository at this point in the history
# Conflicts:
#	pom.xml
#	src/main/java/com/jenkinsci/plugins/badge/action/BadgeAction.java
#	src/main/resources/com/jenkinsci/plugins/badge/action/BadgeAction/badge.jelly
#	src/test/java/com/jenkinsci/plugins/badge/action/BadgeActionTest.java
  • Loading branch information
strangelookingnerd committed May 21, 2024
2 parents 184c519 + 21ef219 commit 97940ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,14 @@ Manage Jenkins -> Configure System -> Badge Plugin

![alt text](src/doc/config.png "Config")

## Configuration as Code Sample

The [configuration as code plugin](https://plugins.jenkins.io/configuration-as-code/) can define the markup formatter configuration for the badge plugin.
Markup formatter sanitization is enabled by default.
The configuration as code setup for that default setting is:

```yaml
security:
badgePlugin:
disableFormatHTML: false
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.426.x</artifactId>
<version>3041.ve87ce2cdf223</version>
<version>3056.v53343b_a_b_a_850</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit 97940ce

Please sign in to comment.