mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Jenkins: fix invalid base version when building ISO with custom version string
This commit is contained in:
parent
bd1b8cb60a
commit
cc4ee5b425
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user