This commit is contained in:
Daniel Jurek 2024-05-22 14:56:09 -07:00 коммит произвёл GitHub
Родитель 4de01d6ed7
Коммит 2ac54f751e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -261,14 +261,14 @@ jobs:
displayName: Generate Code Coverage Data
condition: and(succeededOrFailed(), eq(variables['CODE_COVERAGE'], 'enabled'))
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(Build.SourcesDirectory)/**/Cobertura.xml'
displayName: Publish Code Coverage to DevOps
condition: and(succeededOrFailed(), eq(variables['CODE_COVERAGE'], 'enabled'))
- task: mspremier.BuildQualityChecks.QualityChecks-task.BuildQualityChecks@8
- task: mspremier.BuildQualityChecks.QualityChecks-task.BuildQualityChecks@9
displayName: Check line coverage
inputs:
checkCoverage: true
@ -278,7 +278,7 @@ jobs:
coverageThreshold: ${{ parameters.LineCoverageTarget }}
condition: and(succeededOrFailed(), eq(variables['CODE_COVERAGE'], 'enabled'), eq(variables['Skip.LineCoverageEnforcement'], ''))
- task: mspremier.BuildQualityChecks.QualityChecks-task.BuildQualityChecks@8
- task: mspremier.BuildQualityChecks.QualityChecks-task.BuildQualityChecks@9
displayName: Check branch coverage
inputs:
checkCoverage: true

Просмотреть файл

@ -237,7 +237,7 @@ jobs:
displayName: Generate Code Coverage Data
condition: and(succeeded(), ne(variables['CODE_COVERAGE'], 'disabled'), ne(variables['CODE_COVERAGE'], ''))
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(Build.SourcesDirectory)/**/Cobertura.xml'