Re: Running Job from pipleline - old code is excuted

2017-01-11 Thread Peter McNab
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

Re: Running Job from pipleline - old code is excuted

2017-01-11 Thread Slide
Just curious, why do you have a node() inside of a node()? On Wed, Jan 11, 2017, 09:01 Boaz Nahum wrote: > Hi. > > I'm using Jenkins 2.32.1 running on WIndows Server > > The jenkinsfile that describe the pipeline is something like this: > node('boaz') { > > println

Running Job from pipleline - old code is excuted

2017-01-11 Thread Boaz Nahum
Hi. I'm using Jenkins 2.32.1 running on WIndows Server The jenkinsfile that describe the pipeline is something like this: node('boaz') { println "Hello from node ${env.NODE_NAME}" stage('preparation') { node('boaz') { def parameters = [ [$class: