From c1f0aa72b789a5e12aa6559f68ea38bb0014c05e Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Fri, 12 Apr 2019 14:05:05 +0100 Subject: [PATCH] [Jenkinsfile] Removed redundant redefinitions of global variables. --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2ffc95ed..24eabed5b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) {