Merge "Add support for CodeCover plugin"
This commit is contained in:
18
tests/publishers/fixtures/codecover-full.xml
Normal file
18
tests/publishers/fixtures/codecover-full.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<publishers>
|
||||
<hudson.plugins.codecover.CodeCoverPublisher plugin="codecover">
|
||||
<includes>./path/report.html</includes>
|
||||
<healthReports>
|
||||
<minStatement>1</minStatement>
|
||||
<maxStatement>100</maxStatement>
|
||||
<minBranch>2</minBranch>
|
||||
<maxBranch>90</maxBranch>
|
||||
<minLoop>3</minLoop>
|
||||
<maxLoop>80</maxLoop>
|
||||
<minCondition>4</minCondition>
|
||||
<maxCondition>70</maxCondition>
|
||||
</healthReports>
|
||||
</hudson.plugins.codecover.CodeCoverPublisher>
|
||||
</publishers>
|
||||
</project>
|
||||
11
tests/publishers/fixtures/codecover-full.yaml
Normal file
11
tests/publishers/fixtures/codecover-full.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
publishers:
|
||||
- codecover:
|
||||
include: ./path/report.html
|
||||
min-statement: 1
|
||||
max-statement: 100
|
||||
min-branch: 2
|
||||
max-branch: 90
|
||||
min-loop: 3
|
||||
max-loop: 80
|
||||
min-condition: 4
|
||||
max-condition: 70
|
||||
18
tests/publishers/fixtures/codecover-minimal.xml
Normal file
18
tests/publishers/fixtures/codecover-minimal.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<publishers>
|
||||
<hudson.plugins.codecover.CodeCoverPublisher plugin="codecover">
|
||||
<includes/>
|
||||
<healthReports>
|
||||
<minStatement>0</minStatement>
|
||||
<maxStatement>90</maxStatement>
|
||||
<minBranch>0</minBranch>
|
||||
<maxBranch>80</maxBranch>
|
||||
<minLoop>0</minLoop>
|
||||
<maxLoop>50</maxLoop>
|
||||
<minCondition>0</minCondition>
|
||||
<maxCondition>50</maxCondition>
|
||||
</healthReports>
|
||||
</hudson.plugins.codecover.CodeCoverPublisher>
|
||||
</publishers>
|
||||
</project>
|
||||
2
tests/publishers/fixtures/codecover-minimal.yaml
Normal file
2
tests/publishers/fixtures/codecover-minimal.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
publishers:
|
||||
- codecover
|
||||
Reference in New Issue
Block a user