Can you use XML::Twig? It works well for me to modify configurations through the api.
On Jun 27, 2012, at 4:45 PM, Jim Searle wrote: > Thanks, and I agree, but I have very little experience in Java/Groovy, > so it's very painful to try and do everything I need. > > On Wed, Jun 27, 2012 at 1:41 PM, Grégory Boissinot > <[email protected]> wrote: >> Just a remark: Maybe Perl is not the best solution to do that with Jenkins >> There are lots of examples with Java/Groovy in the Wiki and in the web. >> Maybe a quick alternative to solve your issue. >> >> >> On Wed, Jun 27, 2012 at 9:44 PM, Jim Searle <[email protected]> wrote: >>> >>> I have perl scripts that automate setting up and modifying our job >>> configurations using get/post to the api. But, have a few issues with >>> keeping the xml properly formatted using the perl XML::Simple module. >>> Does anyone have the proper settings for the XMLin and XMLout calls? >> >>
