Skip to content

Commit 97df6ca

Browse files
committed
debug why dockernamespace is null
1 parent 3da7750 commit 97df6ca

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: .vsts-ci/releaseJob.yml

+4
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,17 @@ jobs:
9595
}
9696
}
9797
displayName: 'Install AzAccounts'
98+
- pwsh: |
99+
Get-ChildItem env: | Out-String -Width 1000
100+
displayName: 'Capture Environment'
98101
- task: AzurePowerShell@5
99102
inputs:
100103
azureSubscription: az-blob-cicd-infra
101104
scriptType: inlineScript
102105
azurePowerShellVersion: latestVersion
103106
pwsh: true
104107
inline: |
108+
Write-Verbose -Verbose "namespace: $(DOCKERNAMESPACE)"
105109
$containerName = Out-String -InputObject $(DOCKERNAMESPACE) -NoNewline
106110
$containerName = $containerName.Replace('.', '-')
107111
$context = New-AzStorageContext -StorageAccountName $(StorageAccount)

Diff for: .vsts-ci/templatesGeneric/setVersionStepsTemplate.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ steps:
44
- pwsh: |
55
$tag = '$(releaseTag)'
66
$namespace = $tag.ToLowerInvariant()
7+
Write-Verbose -Verbose $namespace
78
Write-Host "##vso[task.setvariable variable=dockerNamespace;]$namespace"
89
$version = $tag -replace '^v', ''
910
$command = "vso[task.setvariable variable=version]$version"

0 commit comments

Comments
 (0)