diff --git a/README.md b/README.md index 176b131..1f2582d 100644 --- a/README.md +++ b/README.md @@ -437,9 +437,9 @@ The `configuration_as_code` yaml section enables *"Mixed-Mode"* configuration st ```yaml configuration_as_code: - unclassified: - ## https://github.com/jenkinsci/configuration-as-code-plugin/blob/1f79326e902fe721a3a05077a7e46f98569804ff/demos/simple-theme-plugin/README.md - simple-theme-plugin: + ## https://github.com/jenkinsci/simple-theme-plugin/blob/main/src/test/resources/org/jenkinsci/plugins/simpletheme/ConfigurationAsCode.yml + appearance: + simpleTheme: elements: - cssUrl: url: "https://example.bogus/test.css" diff --git a/tests/groovy/config-handlers/ConfigurationAsCodeConfigTest.groovy b/tests/groovy/config-handlers/ConfigurationAsCodeConfigTest.groovy index 08ee374..bfeed65 100644 --- a/tests/groovy/config-handlers/ConfigurationAsCodeConfigTest.groovy +++ b/tests/groovy/config-handlers/ConfigurationAsCodeConfigTest.groovy @@ -5,9 +5,9 @@ configHandler = evaluate(new File("/usr/share/jenkins/config-handlers/${handler} def testJCasC(){ def config = new Yaml().load(""" -unclassified: - ## https://github.com/jenkinsci/configuration-as-code-plugin/blob/1f79326e902fe721a3a05077a7e46f98569804ff/demos/simple-theme-plugin/README.md - simple-theme-plugin: +## https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos/simple-theme-plugin +appearance: + simpleTheme: elements: - cssUrl: url: "https://example.bogus/test.css"