From 21a12ced3b466573b48245cbaecd1ef5d2b33a2a Mon Sep 17 00:00:00 2001 From: leedongmyung Date: Wed, 20 Aug 2025 15:53:50 +0900 Subject: [PATCH] =?UTF-8?q?jenkins=20param=20modify=20file=20=EB=A1=9C=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/pipeline-test2.yaml | 4 ++-- lib/oto/commands/jenkins/jenkins.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/pipeline-test2.yaml b/assets/pipeline-test2.yaml index 1e7e827..cffcabc 100644 --- a/assets/pipeline-test2.yaml +++ b/assets/pipeline-test2.yaml @@ -13,7 +13,7 @@ pipeline: workflow: - exe: read - exe: param-modify - # - exe: write + - exe: write commands: ### Strings Read @@ -47,5 +47,5 @@ commands: - command: FileWrite id: write param: - path: /Users/leedongmyung/works/oto_cli/assets/config_new.xml + path: /Users/leedongmyung/works/oto_cli/assets/config.xml content: \ No newline at end of file diff --git a/lib/oto/commands/jenkins/jenkins.dart b/lib/oto/commands/jenkins/jenkins.dart index 0d89614..2d869bf 100644 --- a/lib/oto/commands/jenkins/jenkins.dart +++ b/lib/oto/commands/jenkins/jenkins.dart @@ -46,7 +46,7 @@ class JenkinsParameterModify extends Command { break; } } - print(document.toXmlString()); + setProperty(data.setContent!, document.toXmlString(), showPrint: data.showPrint); return await complete(0, command); }