Hi,
the
https://jenkins.io/doc/pipeline/steps/pipeline-utility-steps/ support several ways to read some common file types within the pipeline code:
readProperties, readMavenPom, readYaml
What is the recommended way to read *.xml files in general? Creating a @NonCPS method and using XmlSlurper#parseText might be a workaround,
but compared to the clean approaches for some special cases that smells a little :-)
Any ideas or hints are welcome,
thanx, Torsten