mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
[Jenkinsfile] Removed redundant redefinitions of global variables.
This commit is contained in:
committed by
Klaus Basan
parent
32a3c561f7
commit
c1f0aa72b7
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -414,8 +414,6 @@ def getEolInMonth() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def shouldUploadSymbols() {
|
def shouldUploadSymbols() {
|
||||||
def regexDevBranch = /develop\/\d+\.\d+\.\d+/
|
|
||||||
def regexReleaseBranch = /release\/\d+\.\d+/
|
|
||||||
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
|
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
|
||||||
return '-u'
|
return '-u'
|
||||||
} else if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexReleaseBranch) {
|
} else if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexReleaseBranch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user