int128 / gradle-ssh-plugin

Gradle SSH Plugin
https://gradle-ssh-plugin.github.io
Apache License 2.0
318 stars 60 forks source link

Add option to suppress output prefix #306

Closed shorn closed 2 months ago

shorn commented 6 years ago

Environment info

gradle-ssh-plugin-2.9.0 (groovy-ssh-2.9.0, jsch-0.1.53, groovy-2.4.11, java-1.8.0_25) Client is running on a Windows environemtn (8.1 & 10) - server is running Amazon Linux.

Steps to reproduce

I've posted a description on Stack Overflow - https://stackoverflow.com/q/45749292/924597

Explanation / desired outcome

As you can see from screenshot attached to the SO question, the plugin prepends a prefix to every line of output. I'd like to be able to suppress that from the settings, if possible. It's not that big a deal - I can mentally filter it or even work around by filtering the outputstream - just thought I'd mention the desire.

I undersand how this output could be quite useful where you're running many commands, especially in parallel. But my tasks are just convenience wrappers for individual commands . I'm running individual ssh tasks by hand to do specific things - so I already know exactly what remote ssh session is running and don't need the added prefix lines, which end up just being noise for me to filter out.