Just curious, why do you have a node() inside of a node()?
Hi.--I'm using Jenkins 2.32.1 running on WIndows ServerThe jenkinsfile that describe the pipeline is something like this:I'm not using SCM to create workspace.
node('boaz') {println "Hello from node ${env.NODE_NAME}"stage('preparation') {node('boaz') {def parameters = [
[$class: 'StringParameterValue', name: 'param_sandbox_path', value: '${sandboxPath}']];build job: "periodic-build-1-preparation", parameters: parameters}}
}The job "periodic-build-1-preparation" The job is freestyle job with one build step which is shell scriptThe job started and run as expected. Then I change it, but no matter what I tried to do - the old job code is running. I know it because it is shell script that echo the commands before running.ThanksBoaz
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7bed6558-fce2-4c26-a7c9-1fb91a3ab02d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I saw a case like then after I changed the name of my Jenkinsfile, but forgot to update the filename in the "script to execute" part of the job configuration.
Somewhat surprised to see that my workspace wasn't being cleaned between jobs, but it had me scratching my head for a bit.
Pete