How can I tell gradle-ssh-plugin not to prepend identifier to beginning of output lines? -
i'm using gradle-ssh-plugin
execute gradle scripts me on remote host (amazon-linux server running in aws).
my gradle script looks like:
remotes{ bastion { host = 'bastion.example.com' user = "ec2-user" identity = file("${homedir}/.keypairs/bastion.pem") } } ssh.settings{ knownhosts = allowanyhosts } task sshtest{ dolast{ ssh.run{ session(remotes.bastion){ execute "./gradlew doterraformstuff" } } } }
this works fine. here's view of output (the colors terraform tool, executable gradle script invoking):
the issue have how plugin prepends bastion#12|
each line. "12" number goes each execution (i assume it's kind of plugin state survives invocation because of gradle daemon architecture).
the question is:
i'd know if there's way tell gradle-ssh-plugin
not prepend remote identifier output - i'd see output of commands without prefix stuff.
Comments
Post a Comment