jenkinsci / configuration-as-code-plugin

Jenkins Configuration as Code Plugin
https://plugins.jenkins.io/configuration-as-code
MIT License
2.69k stars 718 forks source link

Add doc for exporting config from a groovy script #2564

Closed its-dave closed 1 week ago

its-dave commented 2 weeks ago

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

timja commented 1 week ago

Hmm any thoughts @jetersen ?

I guess we could document this but its an advanced only usecase and it could break, NoExternalUse means its a private API and can be changed at any time.

its-dave commented 1 week ago

That seems reasonable, it makes sense to treat it the same way as the groovy script method of reloading the config