@@ -33,14 +33,6 @@ steps:
33
33
DISPLAY : :99.0
34
34
CODE_VERSION : ${{ parameters.testVSCodeVersion }}
35
35
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()
43
-
44
36
- task : PublishTestResults@2
45
37
condition : succeededOrFailed()
46
38
displayName : ' Publish Test Results'
@@ -52,17 +44,25 @@ steps:
52
44
mergeTestResults : true
53
45
testRunTitle : $(System.StageDisplayName) $(Agent.JobName) (Attempt $(System.JobAttempt))
54
46
55
- - ${{ if eq(variables['System.TeamProject'], 'internal') }} :
56
- - task : 1ES.PublishPipelineArtifact@1
57
- condition : succeededOrFailed()
58
- displayName : ' Upload integration test logs'
59
- inputs :
60
- path : ' $(Build.SourcesDirectory)/out/logs'
61
- artifact : ' Test Logs ($(System.StageDisplayName)-$(Agent.JobName)-$(System.JobAttempt))'
62
- - ${{ else }} :
63
- - task : PublishPipelineArtifact@1
47
+ - ${{ if contains(parameters.npmCommand, ':integration') }} :
48
+ - powershell : |
49
+ $tempPath = [System.IO.Path]::GetTempPath()
50
+ echo "Temp Path: $tempPath"
51
+ Get-ChildItem -Path $tempPath -Filter *.cpuprofile | Copy-Item -Destination "$(Build.SourcesDirectory)/out/logs"
52
+ displayName: 'Copy .cpuprofile files to out/logs'
64
53
condition: succeededOrFailed()
65
- displayName : ' Upload integration test logs'
66
- inputs :
67
- targetPath : ' $(Build.SourcesDirectory)/out/logs'
68
- artifactName : ' Test Logs ($(System.StageDisplayName)-$(Agent.JobName)-$(System.JobAttempt))'
54
+
55
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }} :
56
+ - task : 1ES.PublishPipelineArtifact@1
57
+ condition : succeededOrFailed()
58
+ displayName : ' Upload integration test logs'
59
+ inputs :
60
+ path : ' $(Build.SourcesDirectory)/out/logs'
61
+ artifact : ' Test Logs ($(System.StageDisplayName)-$(Agent.JobName)-$(System.JobAttempt))'
62
+ - ${{ else }} :
63
+ - task : PublishPipelineArtifact@1
64
+ condition : succeededOrFailed()
65
+ displayName : ' Upload integration test logs'
66
+ inputs :
67
+ targetPath : ' $(Build.SourcesDirectory)/out/logs'
68
+ artifactName : ' Test Logs ($(System.StageDisplayName)-$(Agent.JobName)-$(System.JobAttempt))'
0 commit comments