am trying to checkout the code at a particular location (ex. *C:\scm\*) on 
windows using jenkins pipeline (jenkinsfile) and want to execute the build 
from the checkout location (*C:\scm\*) in any available nodes/agents at 
that particular time.

Can you please provide any leads? (Was able to do on linux machine)

Something like below:-

node ('win1')

{

stage ('checkout')

..........

}


node ('win2')

{

stage ('build')

........

}

My requirement is I should checkout my code at particular location (master 
jenkins) whenever my job is triggered and able to build it on any available 
node at that particular time rather than building it on the master jenkins 
only (require this to not overload the jenkins master)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/0a967f20-e16f-4cb1-a627-b42053eda381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to