[Jenkinsfile] Removed redundant redefinitions of global variables.

This commit is contained in:
Mat Sutcliffe
2019-04-12 14:05:05 +01:00
committed by Klaus Basan
parent 32a3c561f7
commit c1f0aa72b7

2
Jenkinsfile vendored
View File

@@ -414,8 +414,6 @@ def getEolInMonth() {
}
def shouldUploadSymbols() {
def regexDevBranch = /develop\/\d+\.\d+\.\d+/
def regexReleaseBranch = /release\/\d+\.\d+/
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
return '-u'
} else if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexReleaseBranch) {