int128 / gradle-ssh-plugin

Gradle SSH Plugin

Home Page:https://gradle-ssh-plugin.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

motek80 opened this issue · comments

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?