def codecover(registry, xml_parent, data):
 codecover = XML.SubElement(xml_parent, 'hudson.plugins.codecover.CodeCoverPublisher')
 codecover.set('plugin', 'codecover')
 XML.SubElement(codecover, 'includes').text = str(data.get('include', ''))
 health_report = XML.SubElement(codecover, 'healthReports')
 mapping = [('min-statement', 'minStatement', 0), ('max-statement', 'maxStatement', 90), ('min-branch', 'minBranch', 0), ('max-branch', 'maxBranch', 80), ('min-loop', 'minLoop', 0), ('max-loop', 'maxLoop', 50), ('min-condition', 'minCondition', 0), ('max-condition', 'maxCondition', 50)]
 helpers.convert_mapping_to_xml(health_report, data, mapping, fail_required=True)

def codecover ( registry , xml_parent , data ) : codecover = XML . SubElement ( xml_parent , 'hudson.plugins.codecover.CodeCoverPublisher' ) codecover . set ( 'plugin' , 'codecover' ) XML . SubElement ( codecover , 'includes' ) . text = str ( data . get ( 'include' , '' ) ) health_report = XML . SubElement ( codecover , 'healthReports' ) mapping = [ ( 'min-statement' , 'minStatement' , 0 ) , ( 'max-statement' , 'maxStatement' , 90 ) , ( 'min-branch' , 'minBranch' , 0 ) , ( 'max-branch' , 'maxBranch' , 80 ) , ( 'min-loop' , 'minLoop' , 0 ) , ( 'max-loop' , 'maxLoop' , 50 ) , ( 'min-condition' , 'minCondition' , 0 ) , ( 'max-condition' , 'maxCondition' , 50 ) ] helpers . convert_mapping_to_xml ( health_report , data , mapping , fail_required = True )
yaml: codecover this plugin allows you to capture code coverage report from codecover .