diff --git a/scripts/ci/pipeline/osx-package.groovy b/scripts/ci/pipeline/osx-package.groovy index d23e783b2b17a..26ccc73f71181 100644 --- a/scripts/ci/pipeline/osx-package.groovy +++ b/scripts/ci/pipeline/osx-package.groovy @@ -8,7 +8,7 @@ def packageFileName = null def commitHash = null def utils = null -node ("osx-amd64") { +node ("mono-package") { ws ("workspace/${jobName}/${monoBranch}") { timestamps { stage('Checkout') { @@ -55,23 +55,15 @@ node ("osx-amd64") { packageFileName = findFiles (glob: "MonoFramework-MDK-*.pkg")[0].name } stage('Upload .pkg to Azure') { - step([ - $class: 'WAStoragePublisher', - allowAnonymousAccess: true, - cleanUpContainer: false, - cntPubAccess: true, - containerName: "${jobName}", - doNotFailIfArchivingReturnsNothing: false, - doNotUploadIndividualFiles: false, - doNotWaitForPreviousBuild: true, - excludeFilesPath: '', - filesPath: "${packageFileName}", - storageAccName: 'credential for xamjenkinsartifact', - storageCredentialId: 'fbd29020e8166fbede5518e038544343', - uploadArtifactsOnlyIfSuccessful: true, - uploadZips: false, - virtualPath: "${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/" - ]) + azureUpload(storageCredentialId: "fbd29020e8166fbede5518e038544343", + storageType: "blobstorage", + containerName: "${jobName}", + virtualPath: "${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/", + filesPath: "${packageFileName}", + allowAnonymousAccess: true, + pubAccessible: true, + doNotWaitForPreviousBuild: true, + uploadArtifactsOnlyIfSuccessful: true) } if (isReleaseJob) {