Showing
1 changed file
with
15 additions
and
0 deletions
docker.sh
0 → 100644
1 | +#!/bin/bash | ||
2 | +# cd $1 jenkins传入的参数,无需关心 | ||
3 | +# where is the package : | ||
4 | +################################################################# | ||
5 | +#项目类型:Springboot、node、tomcat | ||
6 | +#git路径:git@git.yoho.cn:datasync/yoho-datasync-producer.git | ||
7 | +#打包脚本:mvn clean package -DskipTests | ||
8 | +#打包完成后存放路径:yoho-rt-shop/target/yoho-rt-shop-*.jar | ||
9 | +#启动的脚本 java -jar XX.jar | ||
10 | +#运行的预计内存:1000M | ||
11 | +#访问的端口:8080 | ||
12 | +#健康检查标识(需要返回200):localhost:8080/yohomars/actuator | ||
13 | +################################################################# | ||
14 | +cd $1 | ||
15 | +mvn clean package -DskipTests |
-
Please register or login to post a comment