def xvfb(registry, xml_parent, data):
 xwrapper = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.xvfb.XvfbBuildWrapper')
 mapping = [('installation-name', 'installationName', 'default'), ('auto-display-name', 'autoDisplayName', False), ('display-name', 'displayName', ''), ('assigned-labels', 'assignedLabels', ''), ('parallel-build', 'parallelBuild', False), ('timeout', 'timeout', 0), ('screen', 'screen', '1024x768x24'), ('display-name-offset', 'displayNameOffset', 1), ('additional-options', 'additionalOptions', ''), ('debug', 'debug', False), ('shutdown-with-build', 'shutdownWithBuild', False)]
 convert_mapping_to_xml(xwrapper, data, mapping, fail_required=True)

def xvfb ( registry , xml_parent , data ) : xwrapper = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.xvfb.XvfbBuildWrapper' ) mapping = [ ( 'installation-name' , 'installationName' , 'default' ) , ( 'auto-display-name' , 'autoDisplayName' , False ) , ( 'display-name' , 'displayName' , '' ) , ( 'assigned-labels' , 'assignedLabels' , '' ) , ( 'parallel-build' , 'parallelBuild' , False ) , ( 'timeout' , 'timeout' , 0 ) , ( 'screen' , 'screen' , '1024x768x24' ) , ( 'display-name-offset' , 'displayNameOffset' , 1 ) , ( 'additional-options' , 'additionalOptions' , '' ) , ( 'debug' , 'debug' , False ) , ( 'shutdown-with-build' , 'shutdownWithBuild' , False ) ] convert_mapping_to_xml ( xwrapper , data , mapping , fail_required = True )
yaml: xvfb enable xvfb during the build .