def builds_chain_fingerprinter(registry, xml_parent, data):
 fingerprinter = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.buildschainfingerprinter.AutomaticFingerprintJobProperty')
 XML.SubElement(fingerprinter, 'isPerBuildsChainEnabled').text = str(data.get('per-builds-chain', False)).lower()
 XML.SubElement(fingerprinter, 'isPerJobsChainEnabled').text = str(data.get('per-job-chain', False)).lower()

def builds_chain_fingerprinter ( registry , xml_parent , data ) : fingerprinter = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.buildschainfingerprinter.AutomaticFingerprintJobProperty' ) XML . SubElement ( fingerprinter , 'isPerBuildsChainEnabled' ) . text = str ( data . get ( 'per-builds-chain' , False ) ) . lower ( ) XML . SubElement ( fingerprinter , 'isPerJobsChainEnabled' ) . text = str ( data . get ( 'per-job-chain' , False ) ) . lower ( )
yaml: builds-chain-fingerprinter builds chain fingerprinter .