9 lines
221 B
Bash
9 lines
221 B
Bash
|
_pwd="/www/wwwroot/jianlu.fpvone.cn"
|
||
|
_ip="119.3.89.153"
|
||
|
|
||
|
cd ../
|
||
|
#mvn clean package
|
||
|
scp target/build/*.jar root@${_ip}:${_pwd}
|
||
|
#scp target/build/lib/*.* root@${_ip}:${_pwd}/lib
|
||
|
ssh root@${_ip} "cd ${_pwd}; sh ./start.sh"
|