def grails(registry, xml_parent, data):
 grails = XML.SubElement(xml_parent, 'com.g2one.hudson.grails.GrailsBuilder')
 grails.set('plugin', 'grails')
 mappings = [('targets', 'targets', None), ('name', 'name', '(Default)'), ('work-dir', 'grailsWorkDir', ''), ('project-dir', 'projectWorkDir', ''), ('base-dir', 'projectBaseDir', ''), ('server-port', 'serverPort', ''), ('properties', 'properties', ''), ('force-upgrade', 'forceUpgrade', False), ('non-interactive', 'nonInteractive', False), ('use-wrapper', 'useWrapper', False), ('plain-output', 'plainOutput', False), ('stack-trace', 'stackTrace', False), ('verbose', 'verbose', False), ('refresh-dependencies', 'refreshDependencies', False)]
 convert_mapping_to_xml(grails, data, mappings, fail_required=True)

def grails ( registry , xml_parent , data ) : grails = XML . SubElement ( xml_parent , 'com.g2one.hudson.grails.GrailsBuilder' ) grails . set ( 'plugin' , 'grails' ) mappings = [ ( 'targets' , 'targets' , None ) , ( 'name' , 'name' , '(Default)' ) , ( 'work-dir' , 'grailsWorkDir' , '' ) , ( 'project-dir' , 'projectWorkDir' , '' ) , ( 'base-dir' , 'projectBaseDir' , '' ) , ( 'server-port' , 'serverPort' , '' ) , ( 'properties' , 'properties' , '' ) , ( 'force-upgrade' , 'forceUpgrade' , False ) , ( 'non-interactive' , 'nonInteractive' , False ) , ( 'use-wrapper' , 'useWrapper' , False ) , ( 'plain-output' , 'plainOutput' , False ) , ( 'stack-trace' , 'stackTrace' , False ) , ( 'verbose' , 'verbose' , False ) , ( 'refresh-dependencies' , 'refreshDependencies' , False ) ] convert_mapping_to_xml ( grails , data , mappings , fail_required = True )
yaml: grails execute a grails build step .