def pathignore(registry, xml_parent, data):
 ruby = XML.SubElement(xml_parent, 'ruby-proxy-object')
 robj = XML.SubElement(ruby, 'ruby-object', attrib={'pluginid': 'pathignore', 'ruby-class': 'Jenkins::Plugin::Proxies::BuildWrapper'})
 pluginid = XML.SubElement(robj, 'pluginid', {'pluginid': 'pathignore', 'ruby-class': 'String'})
 pluginid.text = 'pathignore'
 obj = XML.SubElement(robj, 'object', {'ruby-class': 'PathignoreWrapper', 'pluginid': 'pathignore'})
 ignored = XML.SubElement(obj, 'ignored__paths', {'pluginid': 'pathignore', 'ruby-class': 'String'})
 ignored.text = data.get('ignored', '')
 XML.SubElement(obj, 'invert__ignore', {'ruby-class': 'FalseClass', 'pluginid': 'pathignore'})

def pathignore ( registry , xml_parent , data ) : ruby = XML . SubElement ( xml_parent , 'ruby-proxy-object' ) robj = XML . SubElement ( ruby , 'ruby-object' , attrib = { 'pluginid' : 'pathignore' , 'ruby-class' : 'Jenkins::Plugin::Proxies::BuildWrapper' } ) pluginid = XML . SubElement ( robj , 'pluginid' , { 'pluginid' : 'pathignore' , 'ruby-class' : 'String' } ) pluginid . text = 'pathignore' obj = XML . SubElement ( robj , 'object' , { 'ruby-class' : 'PathignoreWrapper' , 'pluginid' : 'pathignore' } ) ignored = XML . SubElement ( obj , 'ignored__paths' , { 'pluginid' : 'pathignore' , 'ruby-class' : 'String' } ) ignored . text = data . get ( 'ignored' , '' ) XML . SubElement ( obj , 'invert__ignore' , { 'ruby-class' : 'FalseClass' , 'pluginid' : 'pathignore' } )
yaml: pathignore this plugin allows scm-triggered jobs to ignore build requests if only certain paths have changed .