Checkout: https://github.com/ketan/gocd_xml_to_groovy. I would not call
this "complete" or "done", but if anyone is willing to work with me — I'm
happy to accept PRs :)

I'd been hacking on this for some time. It spits out groovy (sorry no YAML
or JSON). The code is not very pretty, (it's just erb templates to generate
groovy code), but seems to work so far.

On Fri, Sep 7, 2018 at 12:51 PM Ashwanth Kumar <ashwanth.ku...@gmail.com>
wrote:

> Apologies for cross-posting on both Dev and User mailing list.
>
> Hello,
>
> I was just wondering, is there a tool of sorts which would help us convert
> the existing XML based config to a YAML or JSON based config? We've quite a
> few complex pipelines which we would like convert to JSON for using them
> via config-repo. For the migration we were wondering if there's an existing
> tool or a script someone has written for such migrations already.
>
> --
>
> Ashwanth Kumar / ashwanthkumar.in
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to