t;
> HTH Reinhold
>
>
>
>
>
> *From:* jenkins...@googlegroups.com *On
> Behalf Of *jfern...@forgottenempires.net
> *Sent:* Mittwoch, 13. Jänner 2021 10:22
> *To:* Jenkins Users
> *Subject:* how to avoid cps error using XmlSlurper() method in jenkins
> pi
: Mittwoch, 13. Jänner 2021 10:22
To: Jenkins Users
Subject: how to avoid cps error using XmlSlurper() method in jenkins pipeline
I am using a simple test pipeline to get a username out of a xml file, I have
written a simple function using the XmlSlurper method and I have included the
@NonCPS
I am using a simple test pipeline to get a username out of a xml file, I
have written a simple function using the XmlSlurper method and I have
included the @NonCPS annotation at the beginning of the function but I keep
getting an error, even though the function seems to work as it prints out