jenkins创建svn项目自动部署
Exec command ps -ef|grep 'owgd_admin'|grep -v grep|awk '{print $2}'|xargs kill -9 ; cd /home/zhxjdk18/server/jenkins_project/owgd_site/admin; rm -rf * ;
source .bashrc ; java -version ; cd /home/zhxjdk18/server/jenkins_project/owgd_site/admin; nohup java -jar owgd_admin.jar --spring.profiles.active=dev >nohup.out & echo "$(echo -e "\n")"