mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user