def cucumber_testresult(registry, xml_parent, data):
 cucumber_result = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver')
 cucumber_result.set('plugin', 'cucumber-testresult-plugin')
 mappings = [('results', 'testResults', None), ('ignore-bad-steps', 'ignoreBadSteps', False)]
 helpers.convert_mapping_to_xml(cucumber_result, data, mappings, fail_required=True)

def cucumber_testresult ( registry , xml_parent , data ) : cucumber_result = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver' ) cucumber_result . set ( 'plugin' , 'cucumber-testresult-plugin' ) mappings = [ ( 'results' , 'testResults' , None ) , ( 'ignore-bad-steps' , 'ignoreBadSteps' , False ) ] helpers . convert_mapping_to_xml ( cucumber_result , data , mappings , fail_required = True )
yaml: cucumber-testresult publish cucumber test results .