CI/CD & build tooling
Jenkins
Jenkins is the long-running open-source automation server, written in Java and extended through roughly 2,000 plugins. Many Indian enterprises and product companies still run large Jenkins estates, often alongside GitHub Actions or GitLab CI. Writing pipelines is the everyday part; a Senior DevOps interview focuses on running Jenkins itself as reliable, secure infrastructure — controller and agent architecture, scaling with ephemeral agents, configuration as code, credentials, upgrades, and how Jenkins fits a modern CI/CD and GitOps design.
After this topic you can
- Run Jenkins with controllers, agents and plugins
- Design pipelines with credentials and shared libraries
- Troubleshoot slow or stuck builds
Lessons
-
1Architecture: controller, agents, executors
- The components
- How a build actually runs
- JENKINS_HOME layout
- Executors on the controller: set to zero
-
2Agents in depth
- Ways agents connect
- Ephemeral agents with the Kubernetes plugin
- Sizing executors
- "Waiting for next available executor"
-
3Jobs, triggers and build history
- Job types
- Triggers
- Parameters
- Build retention and artifacts
-
4Plugins and their management
- Plugins you should be able to name
- Plugin management done properly
-
5Credentials and security
- The credentials store
- Using credentials safely in pipelines
- AWS access without static keys
- Securing the controller
-
6Jenkins as code, high availability and upgrades
- Configuration as Code (JCasC)
- Job DSL
- Running Jenkins on Kubernetes
- High availability — the honest answer
- Upgrading safely
-
7Performance and scaling
- Symptoms of an overloaded controller
- Causes and fixes
- Making builds faster
-
8Designing CI/CD with Jenkins
- A reference flow
- Shared libraries as a platform product
- 9Troubleshooting Jenkins
-
10Jenkins vs other CI/CD tools and migrations
- Migrating Jenkins → GitHub Actions
- Migrating freestyle jobs to pipelines
-
11Interview questions and model answers
- "Describe Jenkins architecture and how you'd run it in production."
- "How do you secure Jenkins?"
- "Builds are stuck in the queue. How do you troubleshoot?"
- "How do you make Jenkins reproducible and recoverable?"
- "Is Jenkins highly available?"
- "How would you deploy to EKS from Jenkins in a GitOps model?"
- "Jenkins or GitHub Actions?"