Removed release conditionals in Jenkinsfile
Since we do not release new versions on `release` branch anymore
This commit is contained in:
Vendored
+2
-5
@@ -12,16 +12,13 @@ pipeline {
|
||||
when {
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'release'
|
||||
buildingTag()
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
env.DOCKER_TAG = 'master'
|
||||
if (env.BRANCH_NAME == 'release') {
|
||||
env.DOCKER_TAG = 'release'
|
||||
}
|
||||
|
||||
if (env.TAG_NAME) {
|
||||
env.DOCKER_TAG = env.TAG_NAME
|
||||
}
|
||||
@@ -39,4 +36,4 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user