Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 5ed8c52

Browse files
authored
Send to helix only when previous steps succeeded (#37332)
1 parent 2632080 commit 5ed8c52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/pipelines/corefx-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
- template: /eng/pipelines/helix.yml
191191
parameters:
192192
# send tests to helix only on public builds, official scheduled builds or manual official builds.
193-
condition: ${{ or(eq(parameters.isOfficialBuild, 'false'), notIn(variables['Build.Reason'], 'BatchedCI', 'IndividualCI')) }}
193+
condition: or(eq(${{ parameters.isOfficialBuild }}, 'false'), notIn(variables['Build.Reason'], 'BatchedCI', 'IndividualCI'))
194194
targetOS: ${{ parameters.targetOS }}
195195
archGroup: $(_architecture)
196196
configuration: $(_BuildConfig)

eng/pipelines/helix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ steps:
3333
/p:EnableAzurePipelinesReporter=${{ parameters.enableAzurePipelinesReporter }}
3434
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
3535
displayName: Send to Helix
36-
condition: ${{ parameters.condition }}
36+
condition: and(succeeded(), ${{ parameters.condition }})
3737
env:
3838
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops

0 commit comments

Comments
 (0)