Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What are flyweight executors?

AdvancedConceptArchitecture, executors & JENKINS_HOME
Answer

A pipeline build itself needs a lightweight "flyweight" task on the controller that runs the CPS program. It does not consume one of the configured executors, which is why a pipeline appears to run even when the built-in node has 0 executors. Only node {} or declarative agent blocks take a real ("heavyweight") executor on an agent. With agent none at the top and input steps outside any agent, a waiting build holds no executor at all.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME