Export existing Jenkins configuration to YML
See original GitHub issueTo make it really easy migrate already running Jenkins instances to Configuration as Code, or to just use Jenkins itself as editor for the YML file an export functionality should be supplied to the user from our UI footprint.
I imagine a kind of Export current configuration
button or link, that will show the current Jenkins configuration as YML and make it easy to download it.
The user can then save the YML file to git and other places, and supply it back to a new or existing Jenkins instance to start using Configuration as Code Plugin.
I would expect also to be able to download the needed plugin.yml
that described the needed plugin on my current instance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Using Jenkins Configuration as Code - DevOps.com
Export the current configuration into Jenkins.yaml, click the Export Configuration button to download the Jenkins.yaml file.
Read more >Configuration as Code - Jenkins Plugins
The Configuration as Code plugin is an opinionated way to configure Jenkins based on human-readable declarative configuration files.
Read more >Jenkins Configuration as Code: Migration - CloudBees
Due to internal Jenkins glitches, the export can't be used as-is to create a Jenkins controller clone, and the YAML stream could include...
Read more >Getting started with Jenkins Configuration as Code - Eficode
JCasC is a Jenkins plugin that allows you to store and maintain your Jenkins configuration in a YAML file. I provided an outline...
Read more >How to export/import the Jenkins configuration? - Stack Overflow
There is no simple way to backup/export selected parts of the configuration, since Jenkins configuration data is scattered among.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
@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!