def scoverage(registry, xml_parent, data):
 scoverage = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.scoverage.ScoveragePublisher')
 scoverage.set('plugin', 'scoverage')
 mappings = [('report-directory', 'reportDir', None), ('report-file', 'reportFile', None)]
 helpers.convert_mapping_to_xml(scoverage, data, mappings, fail_required=True)

def scoverage ( registry , xml_parent , data ) : scoverage = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.scoverage.ScoveragePublisher' ) scoverage . set ( 'plugin' , 'scoverage' ) mappings = [ ( 'report-directory' , 'reportDir' , None ) , ( 'report-file' , 'reportFile' , None ) ] helpers . convert_mapping_to_xml ( scoverage , data , mappings , fail_required = True )
yaml: scoverage publish scoverage results as a trend graph .