Capture environment better (#24148) (#24428)

This commit is contained in:
Aditya Patwardhan
2024-10-15 12:55:54 -07:00
committed by GitHub
parent ffd202270e
commit ddf0da51c0
34 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- run: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
name: Capture Environment
- run: |
@@ -129,7 +129,7 @@ extends:
ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment variables
- template: /.pipelines/templates/SetVersionVariables.yml@self
+1 -1
View File
@@ -193,7 +193,7 @@ extends:
displayName: 'Set ob_createvpack_version with VPackPublishOverride'
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -72,7 +72,7 @@ steps:
ob_restore_phase: true # This ensures this done in restore phase to workaround signing issue
- powershell: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
condition: succeededOrFailed()
env:
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
env:
ob_restore_phase: true # This ensures this done in restore phase to workaround signing issue
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
clean: true
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
env:
ob_restore_phase: true # This ensures this done in restore phase to workaround signing issue
+1 -1
View File
@@ -85,7 +85,7 @@ steps:
search_root: $(Pipeline.Workspace)/toBeSigned
- pwsh : |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
@@ -47,7 +47,7 @@ jobs:
UseJson: no
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- pwsh: |
@@ -108,7 +108,7 @@ jobs:
UseJson: no
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- pwsh: |
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
- template: release-SetReleaseTagAndContainerName.yml
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- pwsh: |
@@ -37,7 +37,7 @@ jobs:
- template: release-SetReleaseTagAndContainerName.yml
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- download: PSPackagesOfficial
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
- template: release-SetReleaseTagAndContainerName.yml
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- download: CoOrdinatedBuildPipeline
@@ -32,7 +32,7 @@ jobs:
- template: release-SetReleaseTagAndContainerName.yml
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- download: PSPackagesOfficial
@@ -36,7 +36,7 @@ jobs:
displayName: Download fxd artifact
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
@@ -31,7 +31,7 @@ jobs:
displayName: Download nupkgs
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
@@ -19,7 +19,7 @@ jobs:
- template: release-SetReleaseTagAndContainerName.yml
- pwsh: |
Get-ChildItem ENV:
Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
@@ -150,7 +150,7 @@ jobs:
# clean: true
# - pwsh: |
# Get-ChildItem ENV:
# Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose
# displayName: Capture environment
# - template: release-SetReleaseTagAndContainerName.yml
@@ -36,7 +36,7 @@ jobs:
displayName: Download nupkgs
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- pwsh: |
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
- template: /.pipelines/templates/cloneToOfficialPath.yml@self
- pwsh: |
Get-ChildItem Env:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'
- pwsh: |
@@ -38,7 +38,7 @@ jobs:
ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
env:
ob_restore_phase: true # This ensures this done in restore phase to workaround signing issue
+1 -1
View File
@@ -54,7 +54,7 @@ stages:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
fetchDepth: 1000
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -5,7 +5,7 @@ parameters:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
condition: ne('${{ parameters.pool }}', 'windows-2019')
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
+1 -1
View File
@@ -57,7 +57,7 @@ stages:
steps:
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment'
condition: succeededOrFailed()
@@ -38,7 +38,7 @@ jobs:
path: $(complianceRepoFolder)
- powershell: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
condition: succeededOrFailed()
@@ -58,6 +58,6 @@ steps:
displayName: 'Set ${{ parameters.ReleaseTagVarName }} and other version Variables'
- powershell: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
condition: succeededOrFailed()
@@ -130,7 +130,7 @@ jobs:
displayName: 'Build PowerShell Source'
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
@@ -200,7 +200,7 @@ jobs:
GdnPublishTsaConfigFile: '$(Build.SourcesDirectory)\tools\guardian\tsaconfig-APIScan.json'
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()
@@ -43,7 +43,7 @@ steps:
displayName: 'Create global tool NuSpec source for package.'
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture environment variables after Global Tool package source is created.'
# NOTE: The above 'New-GlobalToolNupkgSource' task function sets the 'GlobalToolNuSpecSourcePath', 'GlobalToolPkgName',
@@ -3,7 +3,7 @@ steps:
clean: true
- pwsh: |
Get-ChildItem ENV:
Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- template: release-SetReleaseTagAndContainerName.yml
@@ -1,6 +1,6 @@
steps:
- pwsh: |
Get-ChildItem ENV:
Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture environment
- template: release-SetReleaseTagAndContainerName.yml
@@ -93,7 +93,7 @@ jobs:
displayName: 'Set vpackVersion'
- pwsh: |
Get-ChildItem -Path env:
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: Capture Environment
condition: succeededOrFailed()