Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Brett Hewitson 2022-12-22 00:45:59 +10:00
parent 64c39a6704
commit f4da47ad62

View file

@ -101,7 +101,6 @@ stages:
[int]$AgentId = $(Agent.Id)
[string]$AgentName = $(Agent.Name)
Write-Host "AgentId = $AgentId; AgentName = $AgentName"
$AgentData = Get-AzureDevopsAgent -baseUri "$(System.CollectionUri)_apis" -accessToken $(System.AccessToken) -agentId $AgentId -agentName $AgentName
if ($AgentData) {