[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:
Rolf Bjarne Kvinge 2018-06-13 05:25:52 -07:00 коммит произвёл GitHub
Родитель 189fffb994
Коммит d39c1469b7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 17 добавлений и 1 удалений

16
jenkins/Jenkinsfile поставляемый
Просмотреть файл

@ -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