I don't get your point

the physical layout of the yaml file is directly built based on component
discovery
YAML attributes are mapped to `Describable`s and other components based on
how we can access them from root "jenkins" object (and other root
elements). This mapping is not defined by CasC but by discovery from live
jenkins instance model.

i.e we discover "jenkins" has a "securityRealm" attribute and some
implementation can be used to set this attribute. This directly defines the
yaml tree. But the codebase has no reference to this structure.

2018-05-11 17:05 GMT+02:00 Jesse Glick <[email protected]>:

> On Fri, May 11, 2018 at 3:29 AM, nicolas de loof
> <[email protected]> wrote:
> > configuration-as-code schema depends on jenkins-core version and all
> plugins
> > version being installed. So generating a "version" would be hard.
>
> I think you are mixing up two things. One is the physical layout of
> the config file and how various YAML attributes are mapped to
> `Describable`s and that sort of thing, which is not likely to change
> frequently, but might. That deserves a version number.
>
> The other thing is the concrete list of identifiers available in your
> system, which of course will vary depending on the versions of
> components.
>
> --
> 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/CANfRfr111z%2BNFBAnHQFT%2BFELRsNWU5-
> j2OB1XemUwu6JpLVjKA%40mail.gmail.com.
> 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/CANMVJznEOzzj6AGwuCiud_BsiFeEKuJDMDwjzentdT9zmkNDdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to