Hi List, I'm trying to set up a Job to deploy an website to a hosted server where I only have SFTP access. Uploading the directories and files using "Send build artifacts over SSH" already works. After the upload I would like to create some symlinks in this newly uploaded directory. I added the symlink commands to "Exec command". It seems that jenkins tries to run these commands over SSH instead of SFTP and thus they are failing, as the server does not accept ssh connections from my account.
Is there a way to force SFTP on the commands in "Exec command"? If I manually login via sftp and run the commands it's working. Jenkins: 1.580 Publish Over SSH Plugin: 1.11 Console output: ... SSH: put [xmlrpc.php] SSH: OK SSH: Opening exec channel ... SSH: EXEC: channel open SSH: EXEC: STDOUT/STDERR from command [cd website_staging-7/sites/default ] ... SSH: EXEC: connected This service allows sftp connections only. SSH: EXEC: completed after 200 ms Thanks, Jakob -- 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. For more options, visit https://groups.google.com/d/optout.