Do not expose packer-log in pipelines (#7273)
This commit is contained in:
@@ -88,7 +88,7 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
PACKER_LOG: 1
|
PACKER_LOG: 1
|
||||||
PACKER_LOG_PATH: $(Build.ArtifactStagingDirectory)/packer-log.txt
|
PACKER_LOG_PATH: "$(Agent.TempDirectory)/packer-log.txt"
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Copy image artifacts to the separate directory'
|
displayName: 'Copy image artifacts to the separate directory'
|
||||||
@@ -130,7 +130,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: 'filePath'
|
targetType: 'filePath'
|
||||||
filePath: ./images.CI/measure-provisioners-duration.ps1
|
filePath: ./images.CI/measure-provisioners-duration.ps1
|
||||||
arguments: -PackerLogPath "$(Build.ArtifactStagingDirectory)/packer-log.txt" `
|
arguments: -PackerLogPath "$(Agent.TempDirectory)/packer-log.txt" `
|
||||||
-PrefixToPathTrim "$(TemplateDirectoryPath)" `
|
-PrefixToPathTrim "$(TemplateDirectoryPath)" `
|
||||||
-PrintTopNLongest 25
|
-PrintTopNLongest 25
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user