From 469adac6a027df2e0aecb68126394bc00c747ef6 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Fri, 1 Dec 2017 15:19:41 -0800 Subject: [PATCH] set VERSION when building packages Setting to something that will not be confused with a version number that will ever be released. Also, this is required for the deb packages to build properly Signed-off-by: Andrew Hsu Upstream-commit: 0de78bd1251958a9d8916c3944b8f51d0ffb49b7 Component: packaging --- components/packaging/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/packaging/Jenkinsfile b/components/packaging/Jenkinsfile index 89ed953ad5..00b596c816 100644 --- a/components/packaging/Jenkinsfile +++ b/components/packaging/Jenkinsfile @@ -7,7 +7,7 @@ test_steps = [ 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=$(pwd)/moby CLI_DIR=$(pwd)/cli deb') + sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=ubuntu-xenial ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli deb') } } }, @@ -17,7 +17,7 @@ test_steps = [ 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=$(pwd)/moby CLI_DIR=$(pwd)/cli rpm') + sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=centos-7 ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli rpm') } } }, @@ -27,7 +27,7 @@ test_steps = [ 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=$(pwd)/moby CLI_DIR=$(pwd)/cli static') + sh('make VERSION=0.0.1-dev DOCKER_BUILD_PKGS=static-linux ENGINE_DIR=$(pwd)/moby CLI_DIR=$(pwd)/cli static') } } },