Re: How to use Jenkinsfile in pipeline builds?

2017-01-11 Thread Mark Allison
Actually this works fine, ignore. I had misconfigured something. On Wednesday, 11 January 2017 20:10:36 UTC, Mark Allison wrote: > > I have a pipeline build and I want to move it to source control. I've > copied out the script from the the project into a Jenkinsfile and added it > to git. In my

How to use Jenkinsfile in pipeline builds?

2017-01-11 Thread Mark Allison
I have a pipeline build and I want to move it to source control. I've copied out the script from the the project into a Jenkinsfile and added it to git. In my pipeline I have code like this: #!groovy​ node { stage('checkout') { deleteDir() git