Hello Folks
I have this simple Pipeline script
pipeline {
agent none
stages {
stage ('Check out the Code') {
agent { label 'Axis' }
steps {
echo 'Checking out Source from Mercurial'
checkout changelog: true, scm: [$class: 'MercurialSCM', browser: [$class: 'HgWeb', url: MercUrl], clean: true, credentialsId: '', installation: '(Default)', revision: myRev, source: MercRepo]
}
}
}
}
I expected it to do the checkout on the agent but it does not; it is doing the checkout on the Master.
What I am missing, or am I trying to do something is not possible.
Thank you very much for your help.
Sam