ServerManagers/.azure/pipelines/create-agent-capabilities-environment-variables.yml
2022-12-29 13:19:49 +10:00

10 lines
446 B
YAML

steps:
- task: PowerShell@2
displayName: Create AgentCapabilities Environment Variables
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
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"
pwsh: true