Automation · Jenkins
Controller
Cheat sheet · https://pcornel.dk/topic.php?topic=5535
Answer
The Jenkins controller hosts the web UI, configuration, job definitions, credentials and scheduling. Run builds on agents rather than the controller for security and performance.
Remember
- The controller holds configuration, jobs and credentials.
- Set controller executors to 0; run builds on agents.
- Back up JENKINS_HOME.
First checks
curl -sS https://<jenkins>/login -o /dev/null -w '%{http_code}'— reachable- Number of executors on controller = 0 — no builds on controller
- Security realm and authorization strategy — access
Verify in this order
users/SCM → controller → schedules agents
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5535