Automation · Jenkins
Jenkins Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=5546
Answer
Troubleshoot Jenkins by reading the console output, checking agent connectivity and labels, plugin versions and compatibility, credentials IDs, workspace permissions and the system log.
Remember
- Console output shows the first error.
- Offline agents leave builds queued.
- Wrong credential IDs fail quietly.
First checks
- Console output of failed build — error
- Agent logs and connectivity — infrastructure
- Jenkins system log (/manage/log) — controller
Commands
curl -sS -D - -o /dev/null <jenkins-url>/api/json- Read-only/validation observation for DNS/TLS/connectivity, authentication boundary and HTTP response for the Jenkins re…
Verify in this order
trigger → agent → stage → step → error
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=5546