summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-21 20:04:30 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-21 20:05:13 +0100
commit81ec3de04eb2916d46daecfd49deda313131368e (patch)
tree51b731ca815317a3d4406f716cf2d5b53349d4af /Jenkinsfile
parent9d8b5c548ed227ad7430a7a576ddb089bdae19e9 (diff)
downloadvyos-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--Jenkinsfile2
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()