Is it guaranteed that all the stages in a Jenkins pipeline will get executed on same host? Is it guaranteed that all the stages in a Jenkins pipeline will get executed on same host? jenkins jenkins

Is it guaranteed that all the stages in a Jenkins pipeline will get executed on same host?


Unless you explicitly define a different agent in a stage (which is possible) all your stages will be run on the same executor. Which makes sense: It would be a really inconvenient overhead if you had to declare the agent in every stage to keep it the same.