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
--------------
I have looked at the log, trying to see the actual path for the source
files but it doesn't seem to help much. Every time the configured source
file path and actual path comes out to be the same hence doesn't help much
in pin pointing the erorr:
04-Jan-2013 15:04:56 jenkins.plugins.publish_over.BPTransfer getSourceFiles
FINE: Source files: configured [./ui/ProjectName/build.xml/**], actual
[./ui/ProjectName/build.xml/**]
04-Jan-2013 15:04:54 jenkins.plugins.publish_over.BPTransfer getSourceFiles
FINE: Source files: configured [./ui/ProjectName/**], actual
[./ui/ProjectName/**]
--------------
Can someone please help me identify what is the issue with file transfer?
Thanks,
Prashant