Merge "Use correct element name in scoverage module"

This commit is contained in:
Jenkins 2015-08-19 17:35:08 +00:00 committed by Gerrit Code Review
commit 746d477152
2 changed files with 2 additions and 2 deletions

View File

@ -4378,7 +4378,7 @@ def scoverage(parser, xml_parent, data):
scoverage = XML.SubElement(
xml_parent,
'org.jenkinsci.plugins.scoverage.ScoveragePublisher')
XML.SubElement(scoverage, 'reportDirectory').text = str(
XML.SubElement(scoverage, 'reportDir').text = str(
data.get('report-directory', ''))
XML.SubElement(scoverage, 'reportFile').text = str(
data.get('report-file', ''))

View File

@ -2,7 +2,7 @@
<project>
<publishers>
<org.jenkinsci.plugins.scoverage.ScoveragePublisher>
<reportDirectory>target/scala-2.10/scoverage-report/</reportDirectory>
<reportDir>target/scala-2.10/scoverage-report/</reportDir>
<reportFile>scoverage.xml</reportFile>
</org.jenkinsci.plugins.scoverage.ScoveragePublisher>
</publishers>