Opscraft
CI/CD & build tooling

Jenkins

Must-know11 lessons · 41 min · 3 tests ·

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.

Stage 2 · Core tools

Know these first

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

  1. 1Architecture: controller, agents, executors 4 min read
    • The components
    • How a build actually runs
    • JENKINS_HOME layout
    • Executors on the controller: set to zero
  2. 2Agents in depth 5 min read
    • Ways agents connect
    • Ephemeral agents with the Kubernetes plugin
    • Sizing executors
    • "Waiting for next available executor"
  3. 3Jobs, triggers and build history 3 min read
    • Job types
    • Triggers
    • Parameters
    • Build retention and artifacts
  4. 4Plugins and their management 3 min read
    • Plugins you should be able to name
    • Plugin management done properly
  5. 5Credentials and security 5 min read
    • The credentials store
    • Using credentials safely in pipelines
    • AWS access without static keys
    • Securing the controller
  6. 6Jenkins as code, high availability and upgrades 5 min read
    • Configuration as Code (JCasC)
    • Job DSL
    • Running Jenkins on Kubernetes
    • High availability — the honest answer
    • Upgrading safely
  7. 7Performance and scaling 3 min read
    • Symptoms of an overloaded controller
    • Causes and fixes
    • Making builds faster
  8. 8Designing CI/CD with Jenkins 3 min read
    • A reference flow
    • Shared libraries as a platform product
  9. 9Troubleshooting Jenkins 3 min read
  10. 10Jenkins vs other CI/CD tools and migrations 3 min read
    • Migrating Jenkins → GitHub Actions
    • Migrating freestyle jobs to pipelines
  11. 11Interview questions and model answers 4 min read
    • "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?"