Tagged latest version with version

This commit is contained in:
Parra 2021-08-05 13:58:43 +02:00
parent f3ed5c6768
commit f84fa15674
1 changed files with 4 additions and 1 deletions

5
Jenkinsfile vendored
View File

@ -59,7 +59,10 @@ pipeline {
}
stage('Tagging with common version') {
environment {
GROUPED_VERSION = "latest"
GROUPED_VERSION = """${sh(
returnStdout: true,
script: "if [ \"${params.version}\" != \"\" ]; then echo '${params.version}'; else echo 'latest'; fi"
)}"""
}
when {
branch "${MASTER_BRANCH}"