[devops] Add a download link to the Html Report entry in the GH summary comment. (#13302)

Sometimes you just need the whole thing.
This commit is contained in:
Rolf Bjarne Kvinge 2021-11-08 21:03:20 +01:00 коммит произвёл GitHub
Родитель b083494e4b
Коммит c038879251
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -439,7 +439,7 @@ function New-GitHubSummaryComment {
$sb.AppendLine("* [Azure DevOps]($vstsTargetUrl)")
if ($Env:VSDROPS_INDEX) {
# we did generate an index with the files in vsdrops
$sb.AppendLine("* [Html Report (VSDrops)]($Env:VSDROPS_INDEX)")
$sb.AppendLine("* [Html Report (VSDrops)]($Env:VSDROPS_INDEX) [Download]($Env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$Env:SYSTEM_TEAMPROJECT/_apis/build/builds/$Env:BUILD_BUILDID/artifacts?artifactName=HtmlReport-sim&api-version=6.0&`$format=zip)")
}
if (-not [string]::IsNullOrEmpty($APIDiff)) {
WriteDiffs $sb $APIDiff