Support a conf.d/ directory for placing YAML snippets
See original GitHub issueFor some Jenkins Essentials use-cases, I believe it would be really useful if we could configure Jenkins to use YAML files loaded from a directory rather than one large monolithic YAML file for the entire configuration.
For example, having cloud.yaml
, jenkins.yaml
, ``security.yaml`, etc, would make managing our configuration sprawl much eeasier.
FYI @batmat
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Linux configuration: Understanding *.d directories in /etc
d directories in /etc. Learn how your system organizes configuration files and how this organization scheme can help you administer your system.
Read more >Splitting up the configuration - Home Assistant
Splitting the configuration.yaml into several files. ... file has been created in the Home Assistant configuration directory for each of the following:.
Read more >Config file processing in Spring Boot 2.4
You can either mount a complete YAML file that contains an amalgamation of multiple keys and values, or you can use a simpler...
Read more >Customize your pipeline - Azure Pipelines - Microsoft Learn
This is a step-by-step guide on common ways to customize your pipeline. ... A pipeline is defined using a YAML file in your...
Read more >How can I include a YAML file inside another? - Stack Overflow
I've included a root directory that can be set so that this solution supports relative and absolute file references. Class-Based Solution. Here is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just noticed using a configuration folder to group yaml files is already implemented ! https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/src/main/java/org/jenkinsci/plugins/casc/ConfigurationAsCode.java#L178
I like your suggestions as well, and I would find myself comfortable using this approach like on Linux with all the conf.d directories. So I suggest to lean on that approach. I couldn’t dig up the load order, or what happens when redefining things.
But if I redefine say
numExecutors
I would like to at least see a warning being written somewhere.