def nodejs_installator(registry, xml_parent, data):
 npm_node = XML.SubElement(xml_parent, 'jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper')
 try:
  XML.SubElement(npm_node, 'nodeJSInstallationName').text = data['name']
 except KeyError as e:
  raise MissingAttributeError(e.args[0])

def nodejs_installator ( registry , xml_parent , data ) : npm_node = XML . SubElement ( xml_parent , 'jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper' ) try : XML . SubElement ( npm_node , 'nodeJSInstallationName' ) . text = data [ 'name' ] except KeyError as e : raise MissingAttributeError ( e . args [ 0 ] )
yaml: nodejs-installator requires the jenkins :jenkins-wiki:nodejs plugin <nodejs+plugin> .