What is Jenkins Configuration as Code (JCasC)?

IntermediateConceptJenkins
Answer

JCasC defines the controller's configuration (security realm, authorization, credentials, clouds, global libraries, tool installations) in YAML so a controller can be rebuilt reproducibly and changes are reviewed in Git. The plugin reads the file pointed to by CASC_JENKINS_CONFIG at startup. Secrets are referenced as ${SECRET_NAME} and resolved from env vars, files or a vault.

jenkins:
  systemMessage: "Managed by JCasC"
  numExecutors: 0
  securityRealm:
    local:
      allowsSignup: false
All CI/CD questions

More on Jenkins