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

Commit fdf78ac

Browse files
committed
Send to helix only when previous steps succeeded
1 parent 5cb6b8b commit fdf78ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/helix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ parameters:
1212
officialBuildId: ''
1313
enableAzurePipelinesReporter: '' # true | false
1414
outerloop: '' # true | false
15-
condition: always()
15+
condition: true
1616

1717
steps:
1818
- script: ${{ parameters.msbuildScript }}
@@ -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)