int128 / gradle-ssh-plugin

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

Is it possible to make 'cd' calls via 'execute' operation? #318

Open motek80 opened 5 years ago

motek80 commented 5 years ago

I using ssh plugin to trigger remote Docker builds, which has to be triggered from being in specific folder ("tmp" in this case). Therefore, as a first step I trying to do "cd \tmp" command.

However it fails, I getting: bash: cd /tmp: No such file or directory

Is there any way to execute "cd" command via 'execute' operation?