mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
b9aedd96f6
commit
54fe2ef54b
2 changed files with 1 additions and 15 deletions
|
|
@ -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 $(System.AccessToken) -DebugMode $env:SYSTEM_DEBUG"
|
||||
pwsh: true
|
||||
|
|
|
|||
|
|
@ -18,20 +18,6 @@ steps:
|
|||
[string]$variableName = '${{parameters.VariableName}}'
|
||||
[string]$variableValue = '${{parameters.VariableValue}}'
|
||||
[string]$accessToken = $env:SYSTEM_ACCESSTOKEN
|
||||
[string]$debugMode = $env.SYSTEM_DEBUG
|
||||
|
||||
if ($debugMode -eq 'true') {
|
||||
Write-Host '##[section]Starting: DEBUG INFORMATION'
|
||||
|
||||
Write-Host "##[debug]repositoryUrl = $repositoryUrl"
|
||||
Write-Host "##[debug]repositoryName = $repositoryName"
|
||||
Write-Host "##[debug]definitionId = $definitionId"
|
||||
Write-Host "##[debug]variableName = $variableName"
|
||||
Write-Host "##[debug]variableValue = $variableValue"
|
||||
|
||||
Write-Host '##[section]Finishing: DEBUG INFORMATION'
|
||||
Write-Host ''
|
||||
}
|
||||
|
||||
if($repositoryUrl.EndsWith('/')) {
|
||||
$repositoryUrl = $repositoryUrl.TrimEnd('/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue