def rundeck(registry, xml_parent, data):
 p = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.rundeck.RundeckNotifier')
 mappings = [('job-id', 'jobId', None), ('options', 'options', ''), ('node-filters', 'nodeFilters', ''), ('tag', 'tag', ''), ('wait-for-rundeck', 'shouldWaitForRundeckJob', False), ('fail-the-build', 'shouldFailTheBuild', False)]
 helpers.convert_mapping_to_xml(p, data, mappings, fail_required=True)

def rundeck ( registry , xml_parent , data ) : p = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.rundeck.RundeckNotifier' ) mappings = [ ( 'job-id' , 'jobId' , None ) , ( 'options' , 'options' , '' ) , ( 'node-filters' , 'nodeFilters' , '' ) , ( 'tag' , 'tag' , '' ) , ( 'wait-for-rundeck' , 'shouldWaitForRundeckJob' , False ) , ( 'fail-the-build' , 'shouldFailTheBuild' , False ) ] helpers . convert_mapping_to_xml ( p , data , mappings , fail_required = True )
yaml: rundeck trigger a rundeck job when the build is complete .