From 09368e2059da2978d8fa9fdc00504d226a97fbe4 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 18 May 2024 14:24:29 -0600 Subject: [PATCH] Add configuration as code documentation (#154) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4092482..c9953b7 100644 --- a/README.md +++ b/README.md @@ -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 +```