def description_setter(registry, xml_parent, data):
 descriptionsetter = XML.SubElement(xml_parent, 'hudson.plugins.descriptionsetter.DescriptionSetterBuilder')
 XML.SubElement(descriptionsetter, 'regexp').text = data.get('regexp', '')
 if ('description' in data):
  XML.SubElement(descriptionsetter, 'description').text = data['description']

def description_setter ( registry , xml_parent , data ) : descriptionsetter = XML . SubElement ( xml_parent , 'hudson.plugins.descriptionsetter.DescriptionSetterBuilder' ) XML . SubElement ( descriptionsetter , 'regexp' ) . text = data . get ( 'regexp' , '' ) if ( 'description' in data ) : XML . SubElement ( descriptionsetter , 'description' ) . text = data [ 'description' ]
yaml: description-setter this plugin sets the description for each build .