github.com/docker/docker-ce@v17.12.1-ce-rc2+incompatible/components/packaging/Jenkinsfile (about) 1 #!groovy 2 3 test_steps = [ 4 'deb': { -> 5 stage('Ubuntu Xenial Debian Package') { 6 wrappedNode(label: 'ubuntu && x86_64', cleanWorkspace: true) { 7 checkout scm 8 sh('git clone https://github.com/docker/cli.git') 9 sh('git clone https://github.com/moby/moby.git') 10 sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=ubuntu-xenial ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli deb') 11 } 12 } 13 }, 14 'rpm': { -> 15 stage('Centos 7 RPM Package') { 16 wrappedNode(label: 'ubuntu && x86_64', cleanWorkspace: true) { 17 checkout scm 18 sh('git clone https://github.com/docker/cli.git') 19 sh('git clone https://github.com/moby/moby.git') 20 sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=centos-7 ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli rpm') 21 } 22 } 23 }, 24 'static': { -> 25 stage('Static Linux Binaries') { 26 wrappedNode(label: 'ubuntu && x86_64', cleanWorkspace: true) { 27 checkout scm 28 sh('git clone https://github.com/docker/cli.git') 29 sh('git clone https://github.com/moby/moby.git') 30 sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=static-linux ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli static') 31 } 32 } 33 }, 34 ] 35 36 parallel(test_steps)