[jenkins] Improve rendering of failures on older macOS bots. (#5304)
Improve rendering of failures on older macOS bots by showing which bot things failed on in the commit comment.
This commit is contained in:
Родитель
ac45389565
Коммит
b21eb28b72
|
@ -697,9 +697,7 @@ timestamps {
|
|||
}
|
||||
} catch (err) {
|
||||
currentStage = "Running XM tests on '10.${macOS}'"
|
||||
def msg = err.getMessage ();
|
||||
if (msg == "")
|
||||
msg = "Xamarin.Mac tests on 10.${macOS} failed"
|
||||
def msg = "Xamarin.Mac tests on 10.${macOS} failed: " + err.getMessage ();
|
||||
appendFileComment ("🔥 [${msg}](${env.RUN_DISPLAY_URL}) 🔥\n")
|
||||
failedStages.add (currentStage)
|
||||
throw err
|
||||
|
|
Загрузка…
Ссылка в новой задаче