ServerManagers/.azure/pipelines/create-agent-capabilities-environment-variables.yml
2022-12-29 14:16:48 +10:00

10 lines
446 B
YAML

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