script change

This commit is contained in:
Brett Hewitson 2022-12-23 15:50:44 +10:00
parent 9aa4716173
commit 7747f6bf0e

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 '$env:SYSTEM_ACCESSTOKEN' -DebugMode $(System.Debug)"
arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken $(System.AccessToken) -DebugMode $(System.Debug)"
pwsh: true