Found instructions about how to ask questions about this plugin at 
https://jenkins.io/projects/jcasc/. So I will crosspost to the developer 
list. Please ignore this thread!

/JL

Den måndag 4 november 2019 kl. 09:49:37 UTC+1 skrev Jonas Lindström:
>
> The configuration-as-code plugin has the option to use a set of config 
> files by specifying a folder path. I would like to better understand the 
> behaviour when using multiple YAML files.
>
>  
>
> The following configuration will result in a conflict:
>
>  
>
> a.yaml
>
> ======
>
> jenkins:
>
>   numExecutors: 1
>
>  
>
> b.yaml
>
> ======
>
> jenkins:
>
>   numExecutors: 2
>
>  
>
>  
>
> However, the following *seems* to work:
>
>  
>
> x.yaml
>
> ======
>
> jenkins:
>
>   authorizationStrategy:
>
>     globalMatrix:
>
>       permissions:
>
>       - Overall/Administer:jack
>
>  
>
> y.yaml
>
> ======
>
> jenkins:
>
>   authorizationStrategy:
>
>     globalMatrix:
>
>       permissions:
>
>       - Overall/Administer:jill
>
>  
>
> In the latter case, the net result is that both jack and jill are 
> administrators. Can I rely on this behaviour, or does it work by 
> coincidence? Will the order of the YAML files matter?
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/9f2e1e19-c700-4fb8-84b0-788d6edf4bec%40googlegroups.com.

Reply via email to