pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-29 14:06:06 +10:00
parent a44abf69c8
commit 3e1e58ebff
3 changed files with 5 additions and 5 deletions

View file

@ -2,9 +2,9 @@ steps:
- task: PowerShell@2
displayName: Create AgentCapabilities Environment Variables
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
USER_ACCESSTOKEN: $(AuthorizationToken)
inputs:
targetType: filePath
filePath: './.azure/scripts/CreateAgentCapabilitiesEnvironmentVariables.ps1'
arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken $(System.AccessToken) -DebugMode $env:SYSTEM_DEBUG"
arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken $env:USER_ACCESSTOKEN -DebugMode $env:SYSTEM_DEBUG"
pwsh: true