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/3707d56d-c763-4058-9738-98d6ca5a5034%40googlegroups.com.