From aec13d06c76e1386dd12e0dc10ef9ae0f117c664 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sun, 10 Jun 2018 19:16:42 -0400 Subject: [PATCH] Print result of groovy script to console Change-Id: I84824c34c8d13df55a40b8409a9174055ab8e5a9 Signed-off-by: Thanh Ha --- lftools/cli/jenkins/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lftools/cli/jenkins/__init__.py b/lftools/cli/jenkins/__init__.py index f9cbf4d8..698ec134 100644 --- a/lftools/cli/jenkins/__init__.py +++ b/lftools/cli/jenkins/__init__.py @@ -45,7 +45,8 @@ def groovy(ctx, groovy_file): data = f.read() server = ctx.obj['server'] - server.run_script(data) + result = server.run_script(data) + print(result) @click.command() -- 2.16.6