diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-02-05 18:54:07 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-02-05 19:29:02 +0300 |
commit | 46823915996ed2bb987be6dc36a45d7601e3b787 (patch) | |
tree | 5584cc70546dce1182bd1d4047077e57bbcffc93 /scripts/ci/pipeline/win-package.groovy | |
parent | d568c0b28d0f9f22380d7d8cb1f3fece9bb35780 (diff) |
[ci] Include commit hash in blob URL of pkg/msi
This makes it easier to infer the commit just based on the URL.
Diffstat (limited to 'scripts/ci/pipeline/win-package.groovy')
-rw-r--r-- | scripts/ci/pipeline/win-package.groovy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ci/pipeline/win-package.groovy b/scripts/ci/pipeline/win-package.groovy index 2da75571854..81ea3562291 100644 --- a/scripts/ci/pipeline/win-package.groovy +++ b/scripts/ci/pipeline/win-package.groovy @@ -77,7 +77,7 @@ node ("w64") { storageCredentialId: 'fbd29020e8166fbede5518e038544343', uploadArtifactsOnlyIfSuccessful: true, uploadZips: false, - virtualPath: "${monoBranch}/${env.BUILD_NUMBER}/" + virtualPath: "${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/" ]) } @@ -94,19 +94,19 @@ node ("w64") { echo "Not a release job, skipping signing." } - currentBuild.description = "<hr/><h2>DOWNLOAD: <a href=\"https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${packageFileNameX86}\">${packageFileNameX86}</a> -- <a href=\"https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${packageFileNameX64}\">${packageFileNameX64}</a></h2><hr/>" + currentBuild.description = "<hr/><h2>DOWNLOAD: <a href=\"https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/${packageFileNameX86}\">${packageFileNameX86}</a> -- <a href=\"https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/${packageFileNameX64}\">${packageFileNameX64}</a></h2><hr/>" step([ $class: 'GitHubCommitStatusSetter', commitShaSource: [$class: "ManuallyEnteredShaSource", sha: commitHash], contextSource: [$class: 'ManuallyEnteredCommitContextSource', context: 'MSI-mono_x86'], - statusBackrefSource: [$class: 'ManuallyEnteredBackrefSource', backref: "https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${packageFileNameX86}"], + statusBackrefSource: [$class: 'ManuallyEnteredBackrefSource', backref: "https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/${packageFileNameX86}"], statusResultSource: [$class: 'ConditionalStatusResultSource', results: [[$class: 'AnyBuildResult', state: 'SUCCESS', message: "${packageFileNameX86}"]]] ]) step([ $class: 'GitHubCommitStatusSetter', commitShaSource: [$class: "ManuallyEnteredShaSource", sha: commitHash], contextSource: [$class: 'ManuallyEnteredCommitContextSource', context: 'MSI-mono_x64'], - statusBackrefSource: [$class: 'ManuallyEnteredBackrefSource', backref: "https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${packageFileNameX64}"], + statusBackrefSource: [$class: 'ManuallyEnteredBackrefSource', backref: "https://xamjenkinsartifact.azureedge.net/${jobName}/${monoBranch}/${env.BUILD_NUMBER}/${commitHash}/${packageFileNameX64}"], statusResultSource: [$class: 'ConditionalStatusResultSource', results: [[$class: 'AnyBuildResult', state: 'SUCCESS', message: "${packageFileNameX64}"]]] ]) } |