From 68aad3b0eb786441eebac21e0330bd9bac2c10db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 26 Feb 2019 11:19:43 +0100 Subject: [PATCH] [ci] Use dl.internalx.com when building on private Jenkins (cherry picked from commit 9d4aa950aac64d0b673b107bd99fa784a00e3b1d) --- scripts/ci/pipeline/osx-package.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/pipeline/osx-package.groovy b/scripts/ci/pipeline/osx-package.groovy index c3b398221a1..644fc826c3f 100644 --- a/scripts/ci/pipeline/osx-package.groovy +++ b/scripts/ci/pipeline/osx-package.groovy @@ -73,8 +73,8 @@ node ("mono-package") { echo "Not a release job, skipping signing." } - def storageAccount = (isPrivate ? "bosstoragemirror.blob.core.windows.net" : "xamjenkinsartifact.azureedge.net") - def packageUrl = "https://${storageAccount}/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}" + def downloadHost = (isPrivate ? "dl.internalx.com" : "xamjenkinsartifact.azureedge.net") + def packageUrl = "https://${downloadHost}/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}" currentBuild.description = "

DOWNLOAD: ${packageFileName}


" if (isReleaseJob) { utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, 'artifacts.json', "${packageUrl}/artifacts.json", 'SUCCESS', '') } -- 2.11.4.GIT