I have a Jenkinsfile with a bunch of stages. Agent is defined at top level like so:
agent {
label 'windows'
}
There are a pool of agents labelled windows. I'd like to make one of the parallel stages to run on a different agent that the whole pipeline, but from the same agent windows pool.
Not sure if I should use Lockable Resources plugin or agent{} option can be used in some way.
Any suggestions are appreciated!