[devops] Upload crash reports from the build as well. (#15863)

This commit is contained in:
Rolf Bjarne Kvinge 2022-09-06 09:12:47 +02:00 коммит произвёл GitHub
Родитель 200a5e6eef
Коммит 2197e2b857
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -285,3 +285,9 @@ steps:
$githubComments.NewCommentFromMessage("Build failed", ":fire:", "Build failed for the job '$(System.JobDisplayName)'") $githubComments.NewCommentFromMessage("Build failed", ":fire:", "Build failed for the job '$(System.JobDisplayName)'")
condition: failed() condition: failed()
displayName: 'Report build failure' displayName: 'Report build failure'
# Upload any crash reports that occurred during the build. This is helpful if we want to file issues about dotnet/csc crashing during the build.
- bash: $(System.DefaultWorkingDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/collect-and-upload-crash-reports.sh
displayName: 'Collect and upload crash reports'
condition: always() # who knows when crash reports can end up being useful
continueOnError: true