#!/bin/sh 
export JAVA_HOME=/usr/local/java 

/usr/local/apache-maven-3.5.0/bin/mvn -f /data/project/pom.xml clean install 

war=/data/project_src/target/project-3.6.0.war 
target=/data/project

/usr/local//tomcat/bin/shutdown.sh 
sleep 30 
rm -rf /data/project/WEB-INF 
unzip -o /data/project_src/target/project-3.6.0.war -d /data/project && /usr/local/tomcat/bin/startup.sh
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,