Git Product home page Git Product logo

Comments (10)

v7r avatar v7r commented on July 18, 2024 8

If someone stumbled on this issue from google search, here is the document on "Exporting configurations" https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/features/configExport.md

from configuration-as-code-plugin.

ewelinawilkosz avatar ewelinawilkosz commented on July 18, 2024 1

@jstrachan we will try to figure out a way to do that, don't think it will be a part of first official release though... knowing you're interested (well, actually almost every meetup about JCasC brings that question) will help with prioritisation for sure!

from configuration-as-code-plugin.

jstrachan avatar jstrachan commented on July 18, 2024

We'd love to switch to Configuration as Code on Jenkins X - however we're a little too scared to go through all our configuration and figure out the correct YAML equivalent to get a working Jenkins with the new YAML notation.

If anyone can figure out some way to easily generate a YAML file from a running Jenkins server (whether its a CLI thing or script or hack or real UI thing I don't much care) - I'd be most grateful!!!

from configuration-as-code-plugin.

jstrachan avatar jstrachan commented on July 18, 2024

@ewelinawilkosz awesome thanks! I'd have thought this issue is the biggest barrier to adoption - and most folks I talk to really wanna move to Configuration as Code ASAP!

Even if its just an extra plugin you install or some groovy script or something that'd really help.

I guess we could grab all the *.xml files and have some test program inside the Configuration as Code repo try and read those XML files and do its best to figure out the yaml equivalent?

from configuration-as-code-plugin.

ewelinawilkosz avatar ewelinawilkosz commented on July 18, 2024

I think it even crossed our minds :) but again, we don't want to write xml parser... having it as a workaround could be acceptable and if requests like yours are coming we may need to reevaluate

from configuration-as-code-plugin.

jetersen avatar jetersen commented on July 18, 2024

So far I we had to stitch a lot of examples together and I want to provide an full example for how we currently created our own Jenkins Master.

from configuration-as-code-plugin.

ndeloof avatar ndeloof commented on July 18, 2024

for the record : pipeline snippet generator is implemented here

from configuration-as-code-plugin.

ndeloof avatar ndeloof commented on July 18, 2024

A major blocker for me to implement this is one can't create a second Jenkins instance, as Jenkins#theInstance singleton will break.

from configuration-as-code-plugin.

ndeloof avatar ndeloof commented on July 18, 2024

work started under https://github.com/jenkinsci/configuration-as-code-plugin/tree/export

from configuration-as-code-plugin.

ndeloof avatar ndeloof commented on July 18, 2024

see #200

from configuration-as-code-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.