configuration-as-code-plugin
configuration-as-code-plugin copied to clipboard
Include plugin own settings into the downloaded yaml
Your checklist for this issue
🚨 Please review the guidelines for contributing to this repository.
- [x] Link to any upstream changes that might be required (for example Jenkins Core pull request)
Feature Request
I'm using following section in the beginning of jenkins.yaml:
configuration-as-code:
version: "1"
deprecated: "warn"
restricted: "warn"
unknown: "warn"
However that section is not present in the downloaded jenkins.yaml. Please include it. Rationale:
- The settings become discoverable.
- Issues like #1581 won't be filed again.
- Users won't need to restore the missing section if they keep
jenkins.yamlunder version control. - This plugin would do what it wants other plugins to do, i.e. save their settings.