On Tue, Mar 10, 2015 at 2:59 PM, Rafael Ribeiro Rezende
<
rafael...@gmail.com> wrote:
> Hello Les Mikesell,
> I could give a try with the Workflow plugin, although I'm able to use it
> right now because our SCM is not yet compliant.
> Thanks for pointing me out to those libs!
>
Groovy has the most sensible xml operations I've seen anywhere - sort
of like you are working with an xml object directly instead of weird
abstractions about it.
If your job is running on the master, a system groovy step would be
able to read the file and update the build's environment. There might
be a way to get access to remote workspace files in a system groovy
step - in fact I'd expect it, but it it may be complicated. If anyone
knows, please post an example or link to docs.
Not sure about how the pieces fit together in Workflow. You may have
an issue with restrictions on the libraries you can access, either at
all or which ones are exposed to things running on the slave nodes.
--
Les Mikesell
lesmi...@gmail.com