2020
09-29
09-29
Jenkins远程部署war包过程图解
主体上看别人的脚本,然后和开发协商,做出符合自己的生产脚本................................脚本一:#!/bin/bashDATE=`date+%F-%H-%M`PROJECT='HBKeNong-1.0-SNAPSHOT'PROJECT_TARGET='HBKeNong'ROOTDIR='/usr/local'TOMCAT_HOME='/usr/local/test-tomcat-01'#停止tomcat服务echo'停止test-tomcat-01'sh${TOMCAT_HOME}/bin/shutdown.shps-ef|grep${TOMCAT_HOME}/|grep-vgrep|awk'{print$2}'|xargskill-9cp$...
继续阅读 >