[Jenkins] Publish bundle.zip and msbuild.zip as GH statuses as well. (#4238)
This also requires a maccore bump, commit list for xamarin/maccore:
* xamarin/maccore@443e956edc [release] Rename bundlefull.zip to bundle.zip. (#848)
* xamarin/maccore@5020593b3e Remove jenkinsfile from d15-8, tom-swifty doesn't track normal release branches. (#849)
Diff: a0a9c45942...443e956edc
This commit is contained in:
Родитель
189fffb994
Коммит
d39c1469b7
|
@ -16,6 +16,8 @@ currentStage = null
|
|||
|
||||
xiPackageFilename = null
|
||||
xmPackageFilename = null
|
||||
msbuildZipFilename = null
|
||||
bundleZipFilename = null
|
||||
manifestFilename = null
|
||||
artifactsFilename = null
|
||||
reportPrefix = null
|
||||
|
@ -271,6 +273,12 @@ timestamps {
|
|||
xmPackageFilename = xmPackages [0].name
|
||||
echo ("Created Xamarin.Mac package: ${xmPackageFilename}")
|
||||
}
|
||||
def msbuildZip = findFiles (glob: "package/msbuild.zip")
|
||||
if (msbuildZip.length > 0)
|
||||
msbuildZipFilename = msbuildZip [0].name
|
||||
def bundleZip = findFiles (glob: "package/bundle.zip")
|
||||
if (bundleZip.length > 0)
|
||||
bundleZipFilename = bundleZip [0].name
|
||||
withCredentials ([string (credentialsId: 'codesign_keychain_pw', variable: 'PRODUCTSIGN_KEYCHAIN_PASSWORD')]) {
|
||||
sh ("${workspace}/xamarin-macios/jenkins/productsign.sh")
|
||||
}
|
||||
|
@ -340,6 +348,14 @@ timestamps {
|
|||
def artifactUrl = "${packagePrefix}/${artifactsFilename}"
|
||||
utils.reportGitHubStatus (gitHash, "Jenkins: Artifacts", "${artifactUrl}", 'SUCCESS', "${artifactsFilename}")
|
||||
}
|
||||
if (bundleZipFilename != null) {
|
||||
def bundleZipUrl = "${packagePrefix}/${bundleZipFilename}"
|
||||
utils.reportGitHubStatus (gitHash, "bundle.zip", "${bundleZipUrl}", 'SUCCESS', "${bundleZipFilename}")
|
||||
}
|
||||
if (msbuildZipFilename != null) {
|
||||
def msbuildZipUrl = "${packagePrefix}/${msbuildZipFilename}"
|
||||
utils.reportGitHubStatus (gitHash, "msbuild.zip", "${msbuildZipUrl}", 'SUCCESS', "${msbuildZipFilename}")
|
||||
}
|
||||
}
|
||||
|
||||
dir ('xamarin-macios') {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
ifdef ENABLE_XAMARIN
|
||||
NEEDED_MACCORE_VERSION := a0a9c4594219a0b48b519804b52b48115b66ad01
|
||||
NEEDED_MACCORE_VERSION := 443e956edc3c30b98b1910884beba43a31b98972
|
||||
NEEDED_MACCORE_BRANCH := d15-8
|
||||
|
||||
MACCORE_DIRECTORY := maccore
|
||||
|
|
Загрузка…
Ссылка в новой задаче