Skip to content

Commit

Permalink
Issue #2557 - Add clarification for internal API
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Jacomb <[email protected]>
  • Loading branch information
its-dave and timja committed Sep 22, 2024
1 parent c01fc05 commit aa5f2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/configExport.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The plugin supports exporting existing configurations as YAML.
This can be achieved with the following options:

* Accessing the `http://[your_jenkins_url]/configuration-as-code/` URL as a Jenkins administrators and pressing `Download Configuration`
* Running the following in a Groovy script:
* Running the following in a Groovy script (not recommended, uses internal APIs):

import io.jenkins.plugins.casc.ConfigurationAsCode
def stream = new ByteArrayOutputStream()
Expand Down

0 comments on commit aa5f2a1

Please sign in to comment.