Comments (3)
Yes indeed it supports multiple via a comma separated list.
Documented in the README as well as in code:
from configuration-as-code-plugin.
I don't think this makes a lot of sense.
Simply have two different configs if you want to treat your environments differently. Asking for complexity for complexity's sake makes no sense.
Have you tried to see how far you can get with variable substitution support that already exist?
from configuration-as-code-plugin.
@jetersen
I can do with variable substitution 90% of the things.
Yes, I can load different configs.
The thing is that I have configs splited to a lot files, and I was loading them by just defining just single folder with CASC_JENKINS_CONFIG
And now, since I can't load all files (some of them are env specific) I need to specify huge comma separated list of files in this variable. I think it would be much more readable as I described above.
But now I'm thinking, I did not tried to specify list of just two folders (common and ${env}), maybe that could do the thing.
edit:
that worked, thank you for directions, I'm closing this now :)
from configuration-as-code-plugin.
Related Issues (20)
- JCASC not able export create yaml with "list view swithin nested view" HOT 1
- Configuration As Code Plugin compatible with Scriptler HOT 1
- Jenkins Configuration Reload issue - ERROR 401 Unauthorized
- java.lang.IllegalArgumentException: No hudson.tools.ToolInstaller implementation found for jdkInstaller on Jenkins 2.440.1
- decodeBase64 it not working in casc secrets HOT 1
- Nonnull dependency issue on startup
- Artifact Manager on S3 - issue with loading links to the S3 artifacts HOT 3
- Error while serving <JENKINS_URL>/configuration-as-code/viewExport
- Plugin based credentials HOT 4
- Jobs: "file" is undocumented HOT 2
- Jenkins is not starting in installation phase - bitbucket rate limiting error
- Jenkins Build Failure HOT 1
- snakeyaml java.lang.NoSuchMethodError
- Escaping variables is not documented HOT 2
- Helpers like `readFile` in JCasC YAML Fails to Load Password from File
- reload-configuration-as-code/?casc-reload-token=<token> throws HTTP/1.1 403 Forbidden HOT 5
- Incomplete support for sectioned view HOT 1
- Jenkins CASC Folder Syntax: How to organise pipelinescript-defined job files into folders?
- BaseConfigurator warns about #owner field that should be ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from configuration-as-code-plugin.