File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ steps:
33
33
DISPLAY : :99.0
34
34
CODE_VERSION : ${{ parameters.testVSCodeVersion }}
35
35
36
- - powershell : |
37
- $tempPath = [System.IO.Path]::GetTempPath()
38
- echo "Temp Path: $tempPath"
39
- Get-ChildItem -Path $tempPath -Filter *.cpuprofile | Copy-Item -Destination "$(Build.SourcesDirectory)/out/logs"
40
- displayName : ' Copy .cpuprofile files to out/logs'
41
- condition : succeededOrFailed()
36
+ - ${{ if contains(parameters.npmCommand, ':integration') }} :
37
+ - powershell : |
38
+ $tempPath = [System.IO.Path]::GetTempPath()
39
+ echo "Temp Path: $tempPath"
40
+ Get-ChildItem -Path $tempPath -Filter *.cpuprofile | Copy-Item -Destination "$(Build.SourcesDirectory)/out/logs"
41
+ displayName: 'Copy .cpuprofile files to out/logs'
42
+ condition: succeededOrFailed()
42
43
43
44
- task : PublishTestResults@2
44
45
condition : succeededOrFailed()
You can’t perform that action at this time.
0 commit comments