Skip to content

Commit

Permalink
[ci] Update osx-package.groovy to fix package build
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Feb 1, 2019
1 parent 1028e14 commit b538187
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions scripts/ci/pipeline/osx-package.groovy
Expand Up @@ -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') {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit b538187

Please sign in to comment.