When setting up the SSH server it is possible to provide a directory 
location on the remote server (Remote Directory parameter).  This parameter 
is defined as "The base directory for this configuration." yet when an Exec 
command is performed, it is NOT run in this directory, but at the SSH 
user's come directory.  None of the (?) help or plugin documentation 
mentions this.  I lost a couple of hours trying to decipher why my commands 
were not being executed thinking it was a cause of my fault.

I love this plugin, but the documentation definitely needs to state that 
the remote directory is NOT supported for Exec commands (even though exec 
commands are supported by this plugin configuration) and that you must path 
to where you want to run your script or execute your command.  Why has this 
been left so obscure?  Also, if it is possible to copy files to the Remote 
Directory, why is it not possible to run exec commands at that directory?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a6c71c13-34f0-4380-8b88-f9f5a03032ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to