-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathdeploy.sh
25 lines (20 loc) · 900 Bytes
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
mvn clean package -Dmaven.test.skip=true
Cur_Dir=$(pwd)
TARGET_DIR="/D//test/jar//"
echo $Cur_Dir
if [ $? -ne 0 ]; then
echo "fail"
else
cp $Cur_Dir/yc-gateway/target/yc-gateway-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-auth/target/yc-auth-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-admin/target/yc-admin-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-cms/target/yc-cms-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-crawler/target/yc-crawler-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-file/target/yc-file-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-job/target/yc-job-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-monitor-server/target/yc-monitor-server-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-plugins/target/yc-plugins-1.0.jar $TARGET_DIR
cp $Cur_Dir/yc-modules/yc-wechat/target/yc-wechat-1.0.jar $TARGET_DIR
mvn clean
echo "package success"
fi