mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
eaaba05469
commit
d347c80f93
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ stages:
|
|||
|
||||
$uri = "$($baseUri)/build/builds/$($buildId)?api-version=6.0"
|
||||
$headers = @{
|
||||
Authorization = "Basic $accessToken"
|
||||
Authorization = "Bearer $accessToken"
|
||||
}
|
||||
|
||||
return Invoke-RestMethod -Method Get -Uri $uri -Headers $headers -UseBasicParsing
|
||||
|
|
@ -80,7 +80,7 @@ stages:
|
|||
|
||||
$uri = "$($baseUri)/distributedtask/pools/$($poolId)/agents/$($agentId)?api-version=6.0&includeCapabilities=true"
|
||||
$headers = @{
|
||||
Authorization = "Basic $accessToken"
|
||||
Authorization = "Bearer $accessToken"
|
||||
}
|
||||
|
||||
return Invoke-RestMethod -Method Get -Uri $uri -Headers $headers -UseBasicParsing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue