Git Product home page Git Product logo

Comments (3)

jetersen avatar jetersen commented on July 19, 2024 1

Yes indeed it supports multiple via a comma separated list.

Documented in the README as well as in code:

private static List<String> inputToCandidateSources(String input) {

from configuration-as-code-plugin.

jetersen avatar jetersen commented on July 19, 2024

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.

davorceman avatar davorceman commented on July 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.