Remove platform from source images in Jenkinsfile
This commit is contained in:
parent
5839145583
commit
ecc301d337
|
@ -48,10 +48,10 @@ pipeline {
|
|||
script {
|
||||
stage("Build ${PLATFORM}") {
|
||||
script {
|
||||
SOURCE_IMAGE = SOURCE+':'+PLATFORM.tokenize('/')[1]
|
||||
SOURCE_IMAGE = SOURCE
|
||||
TARGET_IMAGE = TARGET+':'+PLATFORM.tokenize('/')[1]
|
||||
if (env.BRANCH_NAME.startsWith('release/')) {
|
||||
SOURCE_IMAGE += "." + VERSION
|
||||
SOURCE_IMAGE += ":" + VERSION
|
||||
TARGET_IMAGE += "." + VERSION
|
||||
} else {
|
||||
TARGET_IMAGE += VERSION
|
||||
|
|
Loading…
Reference in New Issue