[jenkins] Don't try to upload any packaged Xamarin.Mac tests if there aren't any or they failed to compile. (#8678)

This commit is contained in:
Rolf Bjarne Kvinge 2020-05-27 08:33:46 +02:00 коммит произвёл GitHub
Родитель 488bce571e
Коммит 7b834babca
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -834,9 +834,12 @@ timestamps {
hasXamarinMacTests = false
echoError ("Failed to package Xamarin.Mac tests (exit code: ${exitCode})")
failedStages.add (currentStage)
}
} else {
def packaged_xm_tests = findFiles (glob: "tests/*.7z")
if (packaged_xm_tests.size () > 0)
uploadFiles ("tests/*.7z", "wrench", virtualPath)
}
}
timeout (time: 13, unit: 'HOURS') {
// We run tests locally and on older macOS bots in parallel.