Hi,
I'd not recommend processing the XML file inside the Jenkinsfile, all the
Groovy code you put in a Jenkins file consumes resources in the Jenkins
instance (not in the Agent) and process an XML file can be a heavy process.
I recommend you call a command-line tool or a Python script to proce
Since a pipeline can support groovy, you can try some of the groovy
classes:
https://groovy-lang.org/processing-xml.html
On Mon, Jun 22, 2020 at 23:10 Gajanan Mahajan
wrote:
> I've to update xml file as a part of pipeline. From following, I've to
> replace `value` from `true` to false
>
>
>
I've to update xml file as a part of pipeline. From following, I've to
replace `value` from `true` to false
Also, following commented code, I've to uncomment -
Both of above snippets can be anywhere in xml file. `sed` utility won't
help much here.
Could you please suggest bes