I'm having trouble running a command formatted in the following way:
hostname; id; ssh user@host "/home/user/some_script.sh"
I get the error Cannot run program "hostname;" The step works fine without the hostname; id;, but unfortunately we need to add that now to the command and can't get it working.
Locally on the build host, I can run this single line command just fine.
Some things I've tried:
- putting the entire command line in quotes
- using command line execution instead of shell/batch
- running in legacy/non legacy mode (shell/batch and command line step types)
I'm not sure what else to try here. Is there a reason this doesn't work in the step and works locally? This particular server is running an older version of Quickbuild (6.0.28).