Re: Parsing XML with Pipeline script

2016-12-01 Thread David Karr
The default security restrictions are very tight. There are many things you can't do that would severely restrict any reasonable scripting approach. If you control the scripts you run, there's little point to not removing restrictions for the methods you need to call. On Thu, Dec 1, 2016 at 8:26

Parsing XML with Pipeline script

2016-12-01 Thread harold . putman
I was trying to parse and XML file with XmlSlurper like described here (http://groovy-lang.org/processing-xml.html) def text = ''' Groovy ''' def list = new XmlSlurper().parseText(text) println list.technology.name.text() Using a GPath expression like