CA-251616: Remove the use of the additional branding repository

Rename variable

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2017-04-28 14:09:38 +01:00
parent b9507931d3
commit 7e4a83cc2a

4
Jenkinsfile vendored
View File

@ -134,9 +134,9 @@ node("${params.BUILD_ON_NODE}") {
returnStatus: true,
script: """git ls-remote --heads ${BRANDING_REMOTE} | grep ${params.XC_BRANCH}"""
)
String branchToClone = (branchExistsOnBranding == 0) ? params.XC_BRANCH : 'master'
String branchToCloneOnBranding = (branchExistsOnBranding == 0) ? params.XC_BRANCH : 'master'
bat """git clone -b ${branchToClone} ${BRANDING_REMOTE} ${env.WORKSPACE}\\branding.git"""
bat """git clone -b ${branchToCloneOnBranding} ${BRANDING_REMOTE} ${env.WORKSPACE}\\branding.git"""
if (params.XC_BRANDING != 'citrix') {