Skip to content

Commit 7c4b6ea

Browse files
authored
allow coverage xml to fail, leading to yellow build (#5503)
Setting `continueOnError` for coverage publishing in Mitche's CI.yml stuff.
1 parent 0be2180 commit 7c4b6ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/pipelines/templates/jobs/archetype-sdk-client.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,17 @@ jobs:
154154
- script: |
155155
coverage xml
156156
displayName: 'Generate Coverage XML'
157+
continueOnError: true
157158
158159
- script: |
159160
codecov -t $(codecov-python-repository-token)
160161
displayName: 'Publish Code Cov'
162+
continueOnError: true
161163
condition: ne(variables['codecov-python-repository-token'], '')
162164
163165
- task: PublishCodeCoverageResults@1
164166
displayName: 'Publish Code Coverage to DevOps'
167+
continueOnError: true
165168
inputs:
166169
codeCoverageTool: Cobertura
167170
summaryFileLocation: '$(Build.SourcesDirectory)/coverage.xml'

0 commit comments

Comments
 (0)