update yml task file

This commit is contained in:
Brett Hewitson 2022-12-23 15:20:19 +10:00
parent fb2f72b62e
commit 8f834d9aef

View file

@ -6,5 +6,5 @@ steps:
inputs:
targetType: filePath
filePath: './.azure/scripts/CreateAgentCapabilitiesEnvironmentVariables.ps1'
arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken '$(System.AccessToken)' -DebugMode $(System.Debug)"
arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken $env:SYSTEM_ACCESSTOKEN -DebugMode $(System.Debug)"
pwsh: true