From 41874710e20d504869139b2785043ae174f97dec Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 21 Mar 2026 19:54:44 +0530 Subject: [PATCH] Add locale plugin configuration demo --- demos/README.md | 5 +++++ demos/locale/jenkins.yaml | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 demos/README.md create mode 100644 demos/locale/jenkins.yaml diff --git a/demos/README.md b/demos/README.md new file mode 100644 index 0000000000..af0b4a5eab --- /dev/null +++ b/demos/README.md @@ -0,0 +1,5 @@ +# Locale Plugin Demo + +This demo shows how to configure the Jenkins Locale plugin using Configuration as Code. + +It sets the system locale to English (US) and ignores browser language preferences. \ No newline at end of file diff --git a/demos/locale/jenkins.yaml b/demos/locale/jenkins.yaml new file mode 100644 index 0000000000..39e66c57ad --- /dev/null +++ b/demos/locale/jenkins.yaml @@ -0,0 +1,7 @@ +jenkins: + systemMessage: "Jenkins configured with Locale plugin via JCasC" + +unclassified: + locale: + systemLocale: "en_US" + ignoreAcceptLanguage: true \ No newline at end of file