Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: plugin
-
Labels:None
-
Environment:OS: linux redhat 8.0
Java: 1.5
-
Number of attachments :
Description
On site:rsyncdeploy, get the following:
[exec] building file list ... done
[exec] link_stat target/docs/* : No such file or directory
[exec] wrote 25 bytes read 20 bytes 90.00 bytes/sec
[exec] rsync error: some files could not be transferred (code 23) at main.c(620)
[exec] total size is 0 speedup is 0.00
[exec] [ERROR] Result: 23
BUILD SUCCESSFUL
In plugin.jelly I have added some <echo/> to see what could happen:
<echo>${maven.rsync.executable}</echo>
<echo>"-avz ${rsyncArgs} ${relativeDocsDest}/* ${siteUsername}@${siteAddress}:${siteDirectory}"</echo>
I used the output to launch the command from the shell command line and it works fine.
I also added <exec dir="." executable="pwd"/> to check it the directory was correct and it was.
So it seems that all the parameters to execute the rsync are good but the command failed when used from the plugin.
It looks like target/docs is empty. Did you run site first?