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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/078a4631-1c2f-4673-8b9e-17289f586a06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to