def logfilesize(registry, xml_parent, data):
 lfswrapper = XML.SubElement(xml_parent, 'hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper')
 lfswrapper.set('plugin', 'logfilesizechecker')
 mapping = [('set-own', 'setOwn', False), ('size', 'maxLogSize', 128), ('fail', 'failBuild', False)]
 convert_mapping_to_xml(lfswrapper, data, mapping, fail_required=True)

def logfilesize ( registry , xml_parent , data ) : lfswrapper = XML . SubElement ( xml_parent , 'hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper' ) lfswrapper . set ( 'plugin' , 'logfilesizechecker' ) mapping = [ ( 'set-own' , 'setOwn' , False ) , ( 'size' , 'maxLogSize' , 128 ) , ( 'fail' , 'failBuild' , False ) ] convert_mapping_to_xml ( lfswrapper , data , mapping , fail_required = True )
yaml: logfilesize abort the build if its logfile becomes too big .