Why not just have two distinct docker images ?
Or a custom entrypoint to switch between configuration folders ?

By design JCasC does not include any logic to keep being plain declarative.

Le mar. 7 mai 2019 à 08:30, domi <[email protected]> a écrit :

> I’m not sure I missed something, is there any way to tell the CasC plugin
> load/ignore some configuration files?
> My use case is the following: I have a Dockerimage which contains all
> required configuration files, but in some cases I want to load a different
> security configuration (OAuth vs. Local).
> Is there any way I can do this? (Beside using groovy initscripts instead
> of the CasC configuration files)
> Thanks Domi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/D7DA3592-8D8D-4EE5-AA96-D2B1221D7FAA%40fortysix.ch
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJzm8Uw4NTteJsSsoS4ygApNJBbo%2BGFiQQFuRBTkrqPar0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to