diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-01-29 14:42:45 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-01-29 14:42:45 +0300 |
commit | 1177d7cad995cdb55d5ea3e6139bfebd01e36552 (patch) | |
tree | eb2cf11a23019bb29516a5b4b607e933e6ef67d2 /scripts/ci/pipeline/win-package.groovy | |
parent | 0acf7ff606e37d13fd278a172c10aed5a7824ae7 (diff) |
[packaging] Add GitHub status for packaging result
PKG-mono for the OSX .pkg and MSI-mono_{x86|x64} for the Windows .msi
Diffstat (limited to 'scripts/ci/pipeline/win-package.groovy')
-rw-r--r-- | scripts/ci/pipeline/win-package.groovy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/ci/pipeline/win-package.groovy b/scripts/ci/pipeline/win-package.groovy index be6988919c4..b910d69e2b4 100644 --- a/scripts/ci/pipeline/win-package.groovy +++ b/scripts/ci/pipeline/win-package.groovy @@ -98,3 +98,17 @@ else { } 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/>" +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}"], + 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}"], + statusResultSource: [$class: 'ConditionalStatusResultSource', results: [[$class: 'AnyBuildResult', state: 'SUCCESS', message: "${packageFileNameX64}"]]] +]) |