diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-21 20:04:30 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-21 20:05:13 +0100 |
commit | 81ec3de04eb2916d46daecfd49deda313131368e (patch) | |
tree | 51b731ca815317a3d4406f716cf2d5b53349d4af /Jenkinsfile | |
parent | 9d8b5c548ed227ad7430a7a576ddb089bdae19e9 (diff) | |
download | vyos-build-81ec3de04eb2916d46daecfd49deda313131368e.tar.gz vyos-build-81ec3de04eb2916d46daecfd49deda313131368e.zip |
Jenkins: fix invalid base version when building ISO with custom version string
(cherry picked from commit cc4ee5b42550a0053e92c93a323e675967f9caac)
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index cec10776..f820600e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -95,7 +95,7 @@ pipeline { if (params.TEST_SMOKETESTS) CUSTOM_PACKAGES = '--custom-package vyos-1x-smoketest' - def VYOS_VERSION = params.BUILD_BY + def VYOS_VERSION = params.BUILD_VERSION if (params.BUILD_VERSION == env.BASE_VERSION + 'ISO8601-TIMESTAMP') VYOS_VERSION = env.BASE_VERSION + sh(returnStdout: true, script: 'date -u +%Y%m%d%H%M').toString().trim() |