From 014669a4816cbce073e005277d9f73627f720942 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Tue, 9 Apr 2019 18:01:23 +0100 Subject: [PATCH] ci: Set the version number The Docker container doesn't currently contain git. Signed-off-by: Simon McVittie <smcv@collabora.com> --- ci/Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 78373e2c9..f422766af 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -42,6 +42,12 @@ pipeline { git config --global user.email nobody@example.com ''' checkoutCollaboraGitlab('steam/pressure-vessel', 'master', 'src') + dir('src') { + sh ''' + ./build-aux/git-version-gen .tarball-version > .tarball-version_ + mv .tarball-version_ .tarball-version + ''' + } script { if (env.CI_DOCKER_REGISTRY_CRED == '') { -- GitLab