Yes, there is, but you will need to manually run the script using the
SSH client instead of using the "runScript" method.

You can do something like:

SshClient ssh = context.utils().sshForNode().apply(node);
ExecChannel channel = ssh.execChannel(script);

That ExecChannel object provides InputStreams for the stdout and
stderr you can use to push the realtime logs to your UI.

On 21 December 2016 at 13:28, Poornima BS <poornimabs.g...@gmail.com> wrote:
> Hi,
>
> Is there any way in which we can get intermediate response while executing
> script.
>
> We have plans in pushing execution logs realtime to UI.
>
> Any help would be appreciated.
>
> Thanks & regards,
> Poornima.BS

Reply via email to