def html_publisher(registry, xml_parent, data):
 reporter = XML.SubElement(xml_parent, 'htmlpublisher.HtmlPublisher')
 targets = XML.SubElement(reporter, 'reportTargets')
 ptarget = XML.SubElement(targets, 'htmlpublisher.HtmlPublisherTarget')
 mapping = [('name', 'reportName', None), ('dir', 'reportDir', None), ('files', 'reportFiles', None), ('link-to-last-build', 'alwaysLinkToLastBuild', False), ('keep-all', 'keepAll', False), ('allow-missing', 'allowMissing', False)]
 helpers.convert_mapping_to_xml(ptarget, data, mapping, fail_required=True)
 XML.SubElement(ptarget, 'wrapperName').text = 'htmlpublisher-wrapper.html'

def html_publisher ( registry , xml_parent , data ) : reporter = XML . SubElement ( xml_parent , 'htmlpublisher.HtmlPublisher' ) targets = XML . SubElement ( reporter , 'reportTargets' ) ptarget = XML . SubElement ( targets , 'htmlpublisher.HtmlPublisherTarget' ) mapping = [ ( 'name' , 'reportName' , None ) , ( 'dir' , 'reportDir' , None ) , ( 'files' , 'reportFiles' , None ) , ( 'link-to-last-build' , 'alwaysLinkToLastBuild' , False ) , ( 'keep-all' , 'keepAll' , False ) , ( 'allow-missing' , 'allowMissing' , False ) ] helpers . convert_mapping_to_xml ( ptarget , data , mapping , fail_required = True ) XML . SubElement ( ptarget , 'wrapperName' ) . text = 'htmlpublisher-wrapper.html'
yaml: html-publisher this plugin publishes html reports .