mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
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:
parent
b9507931d3
commit
7e4a83cc2a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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') {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user