diff --git a/components/packaging/Jenkinsfile b/components/packaging/Jenkinsfile index 259afa2b14..89ed953ad5 100644 --- a/components/packaging/Jenkinsfile +++ b/components/packaging/Jenkinsfile @@ -5,9 +5,9 @@ test_steps = [ stage('Ubuntu Xenial Debian Package') { wrappedNode(label: 'docker-edge && x86_64', cleanWorkspace: true) { checkout scm - sh("git clone https://github.com/docker/cli.git") - sh("git clone https://github.com/moby/moby.git") - sh("make DOCKER_BUILD_PKGS=ubuntu-xenial ENGINE_DIR=moby CLI_DIR=cli deb") + sh('git clone https://github.com/docker/cli.git') + sh('git clone https://github.com/moby/moby.git') + sh('make DOCKER_BUILD_PKGS=ubuntu-xenial ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli deb') } } }, @@ -15,9 +15,9 @@ test_steps = [ stage('Centos 7 RPM Package') { wrappedNode(label: 'docker-edge && x86_64', cleanWorkspace: true) { checkout scm - sh("git clone https://github.com/docker/cli.git") - sh("git clone https://github.com/moby/moby.git") - sh("make DOCKER_BUILD_PKGS=centos-7 ENGINE_DIR=moby CLI_DIR=cli rpm") + sh('git clone https://github.com/docker/cli.git') + sh('git clone https://github.com/moby/moby.git') + sh('make DOCKER_BUILD_PKGS=centos-7 ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli rpm') } } }, @@ -25,9 +25,9 @@ test_steps = [ stage('Static Linux Binaries') { wrappedNode(label: 'docker-edge && x86_64', cleanWorkspace: true) { checkout scm - sh("git clone https://github.com/docker/cli.git") - sh("git clone https://github.com/moby/moby.git") - sh("make DOCKER_BUILD_PKGS=static-linux ENGINE_DIR=moby CLI_DIR=cli static") + sh('git clone https://github.com/docker/cli.git') + sh('git clone https://github.com/moby/moby.git') + sh('make DOCKER_BUILD_PKGS=static-linux ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli static') } } },