mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
pipeline file changes
This commit is contained in:
parent
a44abf69c8
commit
3e1e58ebff
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue