ServerManagers/.azure/pipelines/create-agent-capabilities-environment-variables.yml
2022-12-23 15:50:44 +10:00

10 lines
444 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 $(System.Debug)"
pwsh: true