What are Configuration Slicing and other JCasC alternatives you might meet in old setups?
BeginnerConceptPlugins, JCasC & Jenkins on Kubernetes
Answer
Older controllers often use: Groovy init scripts in init.groovy.d/ (run at every startup, imperative, hard to review), the Configuration Slicing plugin, or hand-edited XML copied between servers. JCasC replaced these. Init scripts remain useful for the rare settings JCasC cannot express, but each one should be idempotent and in Git.
More on Plugins, JCasC & Jenkins on Kubernetes
How do you manage plugins in a reproducible way?IntermediateWhat does `jenkins-plugin-cli` resolve for you, and what flags matter?IntermediateWhy should you keep the number of plugins low?BeginnerWhat is JCasC and how is it loaded?BeginnerWhat are the top-level root elements in a JCasC file?IntermediateHow do you inject secrets into JCasC without committing them?Advanced