Clear information about overwriting configuration keys (#1533)
Co-authored-by: Benjamin Balder Bach <benjamin@overtag.dk> Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
This commit is contained in:
parent
d995f5ad46
commit
48e4706bff
|
|
@ -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`
|
:x: `/jenkins/.configs/casc_configs/..dir2/config.yaml`
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
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
|
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
|
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
|
management tool and can't set an environment variable outside of a package-managed file, which could
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue