, , SSH, , , . , Advanced... , - :

, :
ERROR: Exception when publishing, exception message [Could not create or change to directory. Directory [var]]
Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
- :
SSH: Connecting from host [some.host]
SSH: Connecting with configuration [Some Configuration] ...
SSH: Creating session: username [user], hostname [x.x.x.x], port [22]
SSH: Connecting session ...
...
SSH: cd [/var/lib/module/]
SSH: OK
SSH: mkdir [var]
SSH: FAILED: Message [Permission denied]
, .
- , Remote directory, :
Optional destination folder.
This folder will be below the one in the global configuration, if present.
The folder will be created if does not exist.
, , pwd , , , .
, , , , :
Manage Jenkins -> Configure System -> Publish over SSH
Remote directory:

, /home/sophie, /home/sophie/var/www/html, , .