Introduction
Jenkins uses agents to run tasks. Sometimes agents go offline or become unavailable. Managing agent availability helps keep your builds running smoothly without interruptions.
When a build job is stuck because the assigned agent is offline.
When you want to check which agents are ready to run jobs.
When you need to bring an offline agent back online to continue work.
When you want to temporarily disable an agent for maintenance.
When you want Jenkins to automatically handle offline agents to avoid build failures.