Hi,

I am trying to use publish-over-ssh plugin along with Jenkins on Windows 
2008 R2 server. Jenkins plug-in is installed and seems to be configured 
correctly. I can see in the verbose output (pasted below) that Jenkins is 
able to connect to the remote unix server and is able to run a command but 
is not able to transfer any files. It always says 0 files transferred.

Output:

SSH: Connecting from host [ABCDEF]
SSH: Connecting with configuration [AIX DEV] ...
SSH: Creating session: username [aaa], hostname [10.10.10.10], port [22]
SSH: Connecting session ...
SSH: Connected
SSH: Opening SFTP channel ...
SSH: SFTP channel open
SSH: Connecting SFTP channel ...
SSH: Connected
SSH: cd [/home/aaa]
SSH: OK
SSH: Disconnecting configuration [AIX DEV] ...
SSH: Transferred 0 file(s)
Build step 'Send files or execute commands over SSH' changed build result 
to SUCCESS
SSH: Connecting from host [ABCDEF]
SSH: Connecting with configuration [AIX DEV] ...
SSH: Creating session: username [aaa], hostname [10.10.10.10], port [22]
SSH: Connecting session ...
SSH: Connected
SSH: Opening SFTP channel ...
SSH: SFTP channel open
SSH: Connecting SFTP channel ...
SSH: Connected
SSH: cd [/home/aaa]
SSH: OK
SSH: Opening exec channel ...
SSH: EXEC: channel open
SSH: EXEC: STDOUT/STDERR from command [echo hello
] ...
SSH: EXEC: connected
hello
SSH: EXEC: completed after 203 ms
SSH: Disconnecting configuration [AIX DEV] ...
SSH: Transferred 0 file(s)
No emails were triggered.

--------------

Configuration:

Source files:  ${web.dir}/war/WEB-INF/lib/*.jar

--------------

Can someone please help me identify what is the issue with file transfer?

Thanks,
Prashant

Reply via email to