Re: [Declarative Pipeline] Using Dockerfile not in root of checkout

2017-02-07 Thread Staffan Forsell
Ok, thx. I will test it as soon as it's merged/released. /S On Monday, 6 February 2017 12:57:56 UTC+1, Andrew Bayer wrote: > > I've got a PR up for this now - > https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/107 > > A. > > On Sun, Feb 5, 2017 at 9:01 PM, Staffan Forsell

Re: [Declarative Pipeline] Using Dockerfile not in root of checkout

2017-02-06 Thread Andrew Bayer
I've got a PR up for this now - https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/107 A. On Sun, Feb 5, 2017 at 9:01 PM, Staffan Forsell wrote: > Hmmm, of course I found https://issues.jenkins-ci.org/browse/JENKINS-41668 > a couple of minutes later... > > On

Re: [Declarative Pipeline] Using Dockerfile not in root of checkout

2017-02-05 Thread Staffan Forsell
Hmmm, of course I found https://issues.jenkins-ci.org/browse/JENKINS-41668 a couple of minutes later... On Sunday, 5 February 2017 20:50:16 UTC+1, Staffan Forsell wrote: > > I have an normal pipeline that looks like this: > > #!groovy > node('docker_host') { > stage("checkout") { > p4sync

[Declarative Pipeline] Using Dockerfile not in root of checkout

2017-02-05 Thread Staffan Forsell
I have an normal pipeline that looks like this: #!groovy node('docker_host') { stage("checkout") { p4sync credential: 'superSecretCred', depotPath: '//path' } def myEnv stage("docker build") { myEnv = docker.build("mytag", "utils/docker") } myEnv.inside { stage("build") {