def system_groovy(registry, xml_parent, data):
 root_tag = 'hudson.plugins.groovy.SystemGroovy'
 sysgroovy = XML.SubElement(xml_parent, root_tag)
 sysgroovy.append(_groovy_common_scriptSource(data))
 XML.SubElement(sysgroovy, 'bindings').text = str(data.get('bindings', ''))
 XML.SubElement(sysgroovy, 'classpath').text = str(data.get('class-path', ''))

def system_groovy ( registry , xml_parent , data ) : root_tag = 'hudson.plugins.groovy.SystemGroovy' sysgroovy = XML . SubElement ( xml_parent , root_tag ) sysgroovy . append ( _groovy_common_scriptSource ( data ) ) XML . SubElement ( sysgroovy , 'bindings' ) . text = str ( data . get ( 'bindings' , '' ) ) XML . SubElement ( sysgroovy , 'classpath' ) . text = str ( data . get ( 'class-path' , '' ) )
yaml: system-groovy execute a system groovy script or command .