From aa5f2a1e7033d63e184e9ca8fe37045944d869c3 Mon Sep 17 00:00:00 2001 From: Dave <18191844+its-dave@users.noreply.github.com> Date: Sun, 22 Sep 2024 12:41:42 +0100 Subject: [PATCH] Issue #2557 - Add clarification for internal API Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> --- docs/features/configExport.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/configExport.md b/docs/features/configExport.md index 4768b8fc75..6e3e3f8d21 100644 --- a/docs/features/configExport.md +++ b/docs/features/configExport.md @@ -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()