I wonder if it is possible to run local bash script on the remote host?
What I actually trying to do is to check via maven-antrun-plugin
and sshexec
target if folder exists on the server, then, upload artifact to this folder and do some stuff like unzip, etc. Is it possible to do using maven+ant plugin?
Yeah, yeah, I know maven is not supposed to do this and it's better to use ant or gradle for these purposes, but we are forced to work with maven and can nothing to do with this.
Thanks everyone in advance!