rsync安装参考:
http://www.cnblogs.com/ggjucheng/p/5474038.html
https://zhidao.baidu.com/question/2078634436717887028.html
jenkins构建脚本:
prepare-package war:exploded
-Dmaven.test.skip=true
yuicompressor:compress
自动同步脚本:
export RSYNC_PASSWORD=”chbtc123456″
rsync -avz –port=xx –progress –delete target/xxx/statics staticuser@192.168.x.xx::static_data