configuration-as-code-plugin icon indicating copy to clipboard operation
configuration-as-code-plugin copied to clipboard

Store exported configuration after reload for reference

Open ewelinawilkosz opened this issue 5 years ago • 1 comments

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.

  • [ ] Link to any upstream changes that might be required (for example Jenkins Core pull request)

Feature Request

Many people exports configuration and it works better and better. Lately someone suggested to me, that it would be great if the exported configuration was stored and available under "configuration as code" page. So e.g. there would be a button, where you could download configuration from the time it was reloaded last time. It would give the possibility to compare it with configuration exported any time and determine if there were manual changes.

More advanced implementation would introduce "diff" button, that would compare current configuration with the one that was exported after last reload. It is especially useful when more people has access to Manage Jenkins subpages

Happy to discuss potential issues/different use cases

ewelinawilkosz avatar Aug 27 '19 06:08 ewelinawilkosz

Exporting the loaded config to a file shouldn't be too difficult and can be used to compare.

jetersen avatar Aug 27 '19 06:08 jetersen