[jenkins] Don't try to upload any packaged Xamarin.Mac tests if there aren't any or the failed to compile. (#9645)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
This commit is contained in:
Родитель
bfc98f8059
Коммит
c8e056166b
|
@ -740,8 +740,11 @@ 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)
|
||||
}
|
||||
uploadFiles ("tests/*.7z", "wrench", virtualPath)
|
||||
}
|
||||
|
||||
timeout (time: 13, unit: 'HOURS') {
|
||||
|
|
Загрузка…
Ссылка в новой задаче