Re: [EXTERNAL] - I get an error when trying to iterate a xml file in jenkins pipeline

2020-11-17 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, den 17.11.2020, 03:42 -0800 schrieb jesus fernandez: > parseTest(xml) That should be parseText(), I guess. HTH... Dirk -- Dirk HeinrichsSenior Systems Engineer, Delivery PipelineOpenText ™ Discovery | RecommindPhone: +49 2226 15966 18Email: dheinric@opentext.comWebsite: www.r

I get an error when trying to iterate a xml file in jenkins pipeline

2020-11-17 Thread jesus fernandez
I am trying to understand how to iterate a .xml file in Jenkins so I create a super simple .xml file: ``` hello bye ``` I just want to get acces to a tag value (i.e. tag3) and print it out. I have been reading a lot here on SO and I this is the cod I have: ``` import groovy.xml.* pipel