Skip to content

Commit

Permalink
Add configuration as code documentation (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite authored May 18, 2024
1 parent e0b7156 commit 09368e2
Showing 1 changed file with 11 additions and 0 deletions.
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
```

0 comments on commit 09368e2

Please sign in to comment.