Skip to content

Commit 04fbc8e

Browse files
[ci] Only when test stage succeeded or succeededwithissues, PR run Gcov (sonic-net#2460)
* [ci] Only when test stage succeeded or succeededwithissues, PR run Gcov
1 parent 7cc035f commit 04fbc8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/test-docker-sonic-vs-template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
inputs:
108108
testResultsFiles: '**/*_tr.xml'
109109
testRunTitle: vstest
110-
condition: always()
110+
condition: succeeded()
111111

112112
- script: |
113113
cp -r tests/log $(Build.ArtifactStagingDirectory)/

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ stages:
101101

102102
- stage: Gcov
103103
dependsOn: Test
104-
condition: always()
104+
condition: in(dependencies.Test.result, 'Succeeded', 'SucceededWithIssues')
105105
jobs:
106106
- template: .azure-pipelines/gcov.yml
107107
parameters:

0 commit comments

Comments
 (0)