Skip to content

Commit

Permalink
Merged PR 4972: Conditionalize helix test execution with Test ne false
Browse files Browse the repository at this point in the history
Conditionalize helix test execution with Test ne false
  • Loading branch information
mmitche committed Dec 17, 2019
2 parents 4404311 + 0158f3e commit 9b38eb3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eng/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ jobs:
WorkItemCommand: '%HELIX_CORRELATION_PAYLOAD%\build\RunPerfTestsOnHelix.cmd $(_BuildConfig) $(_PerfIterations) $(Build.SourceVersion) $(Build.SourceBranchName) rolling false Windows.10.Amd64.ClientRS1.Perf $(Build.BuildNumber) '
CorrelationPayloadDirectory: '$(Build.SourcesDirectory)\helix-package'
HelixConfiguration: 'CoreMSBuild'
condition: ne(variables['Test'], 'false')
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)\artifacts\log
Expand All @@ -220,14 +221,15 @@ jobs:
HelixSource: 'pr/dotnet/sdk/$(Build.SourceBranch)'
HelixType: 'test/sdk_$(_BuildConfig)/'
HelixAccessToken: $(HelixApiAccessToken)
HelixTargetQueues: 'Windows.10.Amd64.ClientRS1.Perf' # using a dedicated private Helix queue (perfsnakes)
HelixTargetQueues: 'Windows.10.Amd64.ClientRS1.Perf' # a dedicated private Helix queue (perfsnakes)
HelixPreCommands: 'set "PERF_COMMAND_UPLOAD_TOKEN=$(PerfCommandUploadToken)"'

WorkItemTimeout: 2:00
WorkItemDirectory: '$(Build.SourcesDirectory)\build'
WorkItemCommand: '%HELIX_CORRELATION_PAYLOAD%\build\RunPerfTestsOnHelix.cmd $(_BuildConfig) $(_PerfIterations) $(Build.SourceVersion) $(Build.SourceBranchName) rolling true Windows.10.Amd64.ClientRS1.Perf $(Build.BuildNumber)'
CorrelationPayloadDirectory: '$(Build.SourcesDirectory)\helix-package'
HelixConfiguration: 'FullMSBuild'
condition: ne(variables['Test'], 'false')
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)\artifacts\log
Expand Down Expand Up @@ -255,6 +257,7 @@ jobs:
WorkItemTimeout: 2:00
WorkItemDirectory: '$(Build.SourcesDirectory)'
WorkItemCommand: './build/RunPerfTestsOnHelix.sh $(_BuildConfig) $(_PerfIterations) $(Build.SourceVersion) $(Build.SourceBranchName) rolling x64 Ubuntu_16.04 Ubuntu.1604.Amd64.Perf $(Build.BuildNumber)'
condition: ne(variables['Test'], 'false')

- ${{ if notIn(parameters.agentOs, 'Windows_NT', 'Windows_NT_FullFramework', 'Windows_NT_TestAsTools', 'Windows_Perf_CI', 'Linux_Perf_CI', 'Windows_Perf_Helix', 'Windows_Perf_CI_FullFramework', 'Windows_Perf_Helix_Fullframework', 'Linux_Perf_Helix') }}:
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
Expand Down Expand Up @@ -296,7 +299,7 @@ jobs:
SymStore/$(_BuildConfig)/**/*
TargetFolder: '$(Build.ArtifactStagingDirectory)'
continueOnError: true
condition: always()
condition: always()

- task: PublishBuildArtifacts@1
displayName: Publish Logs to VSTS
Expand Down

0 comments on commit 9b38eb3

Please sign in to comment.