Authored by chaogeng
#!/bin/bash
# cd $1 :where is the jenkins workspace
# 需要维护以下的信息 :
#################################################################
#项目类型:Springboot
#git路径:git@git.yoho.cn:datasync/yoho-datasync-fullsync.git
#打包脚本:mvn clean package -DskipTests
#打包完成后存放路径:yoho-datasync-fullsync/target/yoho-fullsync.jar*.jar
#启动的脚本 java -jar yoho-fullsync.jar
#运行的预计内存:2000M
#访问的端口:9010
#日志的路径: /Data/logs/yoho-fullsync
#健康检查标识(需要返回200):localhost:9011/actuator/health
#################################################################
cd $1
mvn clean package -DskipTests
\ No newline at end of file
... ...
... ... @@ -42,7 +42,7 @@
</dependencies>
<build>
<finalName>yohofullsync</finalName>
<finalName>yoho-fullsync</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
... ...