Interview Prep/CI/CD/Jenkins in Production

What is your approach to Jenkins job configuration drift?

IntermediateProductionJenkins in Production
Answer

Ban manual UI changes to production jobs: create jobs through Organization Folders/Multibranch (pipeline defined in repo) or Job DSL / JCasC jobs: seed definitions in Git. Restrict "Configure" permission to admins. Periodically diff the live configuration (jenkins-cli get-job or JCasC export) against Git, and rebuild the controller from code in a test environment to prove reproducibility.

All CI/CD questions

More on Jenkins in Production