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 <andrewhsu@docker.com> Upstream-commit: 0de78bd1251958a9d8916c3944b8f51d0ffb49b7 Component: packaging
This commit is contained in:
6
components/packaging/Jenkinsfile
vendored
6
components/packaging/Jenkinsfile
vendored
@ -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')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user