Interview Prep/Jenkins/Agents, executors & the queue

Builds on a static agent fail with `No space left on device` in the workspace

IntermediateTroubleshootingAgents, executors & the queue
Answer

Likely causes → Workspaces from hundreds of branch jobs and @tmp/@2 copies accumulate; Docker images and build caches fill the disk.

Diagnose →

df -h /home/jenkins
du -sh /home/jenkins/agent/workspace/* | sort -h | tail
docker system df

Fix → Delete old workspaces, docker system prune -af --filter until=72h, add cleanWs() in post { cleanup {} }.

Prevent → Disk space monitor threshold on the node (marks it offline), ephemeral agents.

All Jenkins questions Roadmap: Jenkins

More on Agents, executors & the queue