From 48e4706bff84b51a0f41587bd673a9e26d1167d9 Mon Sep 17 00:00:00 2001 From: Benjamin Balder Bach Date: Thu, 4 Feb 2021 09:04:11 +0100 Subject: [PATCH] Clear information about overwriting configuration keys (#1533) Co-authored-by: Benjamin Balder Bach Co-authored-by: Oleg Nenashev --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3632505a..bfe3ae83 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,8 @@ If `CASC_JENKINS_CONFIG` points to a folder, the plugin will recursively travers :x: `/jenkins/.configs/casc_configs/..dir2/config.yaml` +All configuration files that are discovered MUST be supplementary. They cannot overwrite each other's configuration values. This creates a conflict and raises a `ConfiguratorException`. Thus, the order of traversal does not matter to the final outcome. + Instead of setting the `CASC_JENKINS_CONFIG` environment variable, you can also define using the `casc.jenkins.config` Java property. This is useful when installing Jenkins via a package management tool and can't set an environment variable outside of a package-managed file, which could