Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What is the difference between permanent agents and cloud agents?

IntermediateConceptArchitecture, executors & JENKINS_HOME
Answer

Permanent (static) agents are defined once and stay connected: good for special hardware or licensed tools, but they drift, accumulate state and sit idle. Cloud agents are provisioned on demand by a cloud plugin (kubernetes, EC2, Azure VM, Docker) when the queue needs them and removed after use or idle timeout. In 2025–2026 most teams run ephemeral Kubernetes pods for Linux builds and keep a few static agents for macOS, Windows or hardware-in-the-loop.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME