File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 9
9
10
10
$helixLinkFile = " $OutputFolder \LinksToHelixTestFiles.html"
11
11
12
- $accessTokenParam = " "
13
- if ($HelixAccessToken )
14
- {
15
- $accessTokenParam = " ?access_token=$HelixAccessToken "
16
- }
17
12
18
13
function Generate-File-Links
19
14
{
@@ -57,7 +52,6 @@ foreach ($testRun in $testRuns.value)
57
52
58
53
foreach ($testResult in $testResults.value )
59
54
{
60
-
61
55
$info = ConvertFrom-Json $testResult.comment
62
56
$helixJobId = $info.HelixJobId
63
57
$helixWorkItemName = $info.HelixWorkItemName
@@ -104,7 +98,10 @@ foreach ($testRun in $testRuns.value)
104
98
New-Item $fullPath - ItemType Directory
105
99
}
106
100
107
- $link = " $ ( $pgcFile.Link ) $accessTokenParam "
101
+ $link = $pgcFile.Link
102
+
103
+ Write-Host " Downloading $link to $destination "
104
+
108
105
$webClient.DownloadFile ($link , $destination )
109
106
}
110
107
}
You can’t perform that action at this time.
0 commit comments