From 8f834d9aef43cf8177c90ea7bee78b96b9926976 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Fri, 23 Dec 2022 15:20:19 +1000 Subject: [PATCH] update yml task file --- .../create-agent-capabilities-environment-variables.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/pipelines/create-agent-capabilities-environment-variables.yml b/.azure/pipelines/create-agent-capabilities-environment-variables.yml index 61cde186..ae844993 100644 --- a/.azure/pipelines/create-agent-capabilities-environment-variables.yml +++ b/.azure/pipelines/create-agent-capabilities-environment-variables.yml @@ -6,5 +6,5 @@ steps: inputs: targetType: filePath filePath: './.azure/scripts/CreateAgentCapabilitiesEnvironmentVariables.ps1' - arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken '$(System.AccessToken)' -DebugMode $(System.Debug)" + arguments: "-CollectionUri '$(System.CollectionUri)' -AgentId '$(Agent.Id)' -AgentName '$(Agent.Name)' -AccessToken $env:SYSTEM_ACCESSTOKEN -DebugMode $(System.Debug)" pwsh: true