美文网首页
jenkins+rsync实现静态资源增量修改发布

jenkins+rsync实现静态资源增量修改发布

作者: xun2019 | 来源:发表于2017-03-23 18:11 被阅读0次

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

相关文章

网友评论

      本文标题:jenkins+rsync实现静态资源增量修改发布

      本文链接:https://www.haomeiwen.com/subject/wqytottx.html