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:04:32 +0100 |
commit | cc4ee5b42550a0053e92c93a323e675967f9caac (patch) | |
tree | 26c66cbcb33e07fdfb1377fbc4e744725ed83cc5 /Jenkinsfile | |
parent | bd1b8cb60a0e41fac3790a9cc4b20a90566005fb (diff) | |
download | vyos-build-cc4ee5b42550a0053e92c93a323e675967f9caac.tar.gz vyos-build-cc4ee5b42550a0053e92c93a323e675967f9caac.zip |
Jenkins: fix invalid base version when building ISO with custom version string
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index f59b0d47..5e30c423 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -92,7 +92,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() |