*/1 * * * * 一分钟判断一次更新
Root POM:dst-mobile/depend/pom.xml
Goals and options:clean package -Dmaven.test.skip=true -Pdev
Source files:dst-mobile/dst-mobile-parent/dst-mobile-client/dst-mobile-client-web/target/*.war
Remove prefix:dst-mobile/dst-mobile-parent/dst-mobile-client/dst-mobile-client-web/target
Remote directory:/data/wwwroot/
Exec command:
netstat -antpu | grep 7540 | awk ‘{print $7}’ | awk -F"/" ‘{print $1}’ | xargs -I{} kill -9 {}
/bin/rm -rf /data/wwwroot/dst-mobile/tomcat-dst-mobile/webapps/dst-mobile-client-*
mv /data/wwwroot/dst-mobile-client-web.war /data/wwwroot/dst-mobile/tomcat-dst-mobile/webapps/
/data/wwwroot/dst-mobile/tomcat-dst-mobile/bin/startup.sh