File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ parameters:
1111 - name : isIntegration
1212 type : string
1313
14+ variables :
15+ isIntegration : ${{ parameters.isIntegration }}
16+
1417steps :
1518- checkout : self
1619 clean : true
@@ -51,18 +54,18 @@ steps:
5154 echo "Temp Path: $tempPath"
5255 Get-ChildItem -Path $tempPath -Filter *.cpuprofile | Copy-Item -Destination "$(Build.SourcesDirectory)/out/logs"
5356 displayName : ' Copy .cpuprofile files to out/logs'
54- condition : ${{ eq(parameters. isIntegration, 'true') }}
57+ condition : eq(variables[' isIntegration'] , 'true')
5558
5659- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
5760 - task : 1ES.PublishPipelineArtifact@1
58- condition : ${{ eq(parameters. isIntegration, 'true') }}
61+ condition : eq(variables[' isIntegration'] , 'true')
5962 displayName : ' Upload integration test logs'
6063 inputs :
6164 path : ' $(Build.SourcesDirectory)/out/logs'
6265 artifact : ' Test Logs ($(System.StageDisplayName)-$(Agent.JobName)-$(System.JobAttempt))'
6366- ${{ else }} :
6467 - task : PublishPipelineArtifact@1
65- condition : ${{ eq(parameters. isIntegration, 'true') }}
68+ condition : eq(variables[' isIntegration'] , 'true')
6669 displayName : ' Upload integration test logs'
6770 inputs :
6871 targetPath : ' $(Build.SourcesDirectory)/out/logs'
You can’t perform that action at this time.
0 commit comments