2021-07-05 16:26:11 +08:00
|
|
|
_pwd=/mnt/rd.ydool.org
|
2022-08-05 17:36:13 +08:00
|
|
|
_ip=122.112.240.73
|
2021-07-05 16:26:11 +08:00
|
|
|
|
|
|
|
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"
|