From 4ebc68671f962471fd6c833420fdb09adcad198f Mon Sep 17 00:00:00 2001 From: Ohad David Date: Mon, 5 Feb 2024 14:05:32 +0200 Subject: [PATCH] systemThemePlugin --- README.md | 6 +++--- .../config-handlers/ConfigurationAsCodeConfigTest.groovy | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 176b1316..1f2582d2 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 08ee374c..bfeed65f 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"