提交 7e372df5 编写于 作者: J Joey Robichaud

Hardcode the optprof drop to the last known good build

上级 f75f5010
......@@ -281,7 +281,10 @@ function Restore-OptProfData() {
Exec-Console $dropToolPath "list --dropservice `"$dropServiceUrl`" $patAuth --pathPrefixFilter `"$dropNamePrefix`" --toJsonFile `"$dropsJsonPath`" --traceto `"$logFile`""
$dropsJson = Get-Content -Raw -Path $dropsJsonPath | ConvertFrom-Json
$latestDrop = find-latest-drop($dropsJson)
# Temporarily hardcoding the drop location to the last good Preview2 drop. The pipeline that generates new new OptProf drops is generating incomplete data.
# $latestDrop = find-latest-drop($dropsJson)
$latestDrop = "OptimizationData/dotnet/roslyn/master-vs-deps/75e3797e1105a4da4c10dddda76c3b9398f7725a/223453/935479/1"
if ($latestDrop -eq $null) {
Write-Host "No drop matching given name found: $dropServiceUrl/$dropNamePrefix/*" -ForegroundColor Red
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册