diff --git a/casic-server/pom.xml b/casic-server/pom.xml index 1f1699d..cdf3c84 100644 --- a/casic-server/pom.xml +++ b/casic-server/pom.xml @@ -15,6 +15,17 @@ casic-server casic 的spring boot版本 + + + /home/admin/app/wangpeng/securitycockpitmini/casic-web-2.0.0/lib/ + /home/admin/app/wangpeng/securitycockpitmini/casic-web-2.0.0/deploy.sh + ${project.artifactId}-${project.version}.jar + + 111.198.10.15:21402 + admin + Casic203 + + @@ -105,6 +116,12 @@ pinyin4j 2.5.0 + + + org.codehaus.mojo + wagon-maven-plugin + 2.0.0 + @@ -115,5 +132,37 @@ + + + org.apache.maven.wagon + wagon-ssh + 2.8 + + + + + + org.codehaus.mojo + wagon-maven-plugin + 1.0 + + target/${pack-name} + + + + + + + + + + + sh ${sh-path} + + + true + + + \ No newline at end of file diff --git a/casic-server/pom.xml b/casic-server/pom.xml index 1f1699d..cdf3c84 100644 --- a/casic-server/pom.xml +++ b/casic-server/pom.xml @@ -15,6 +15,17 @@ casic-server casic 的spring boot版本 + + + /home/admin/app/wangpeng/securitycockpitmini/casic-web-2.0.0/lib/ + /home/admin/app/wangpeng/securitycockpitmini/casic-web-2.0.0/deploy.sh + ${project.artifactId}-${project.version}.jar + + 111.198.10.15:21402 + admin + Casic203 + + @@ -105,6 +116,12 @@ pinyin4j 2.5.0 + + + org.codehaus.mojo + wagon-maven-plugin + 2.0.0 + @@ -115,5 +132,37 @@ + + + org.apache.maven.wagon + wagon-ssh + 2.8 + + + + + + org.codehaus.mojo + wagon-maven-plugin + 1.0 + + target/${pack-name} + + + + + + + + + + + sh ${sh-path} + + + true + + + \ No newline at end of file diff --git a/casic-web/src/main/build/bin/deploy.sh b/casic-web/src/main/build/bin/deploy.sh new file mode 100644 index 0000000..2fa92b9 --- /dev/null +++ b/casic-web/src/main/build/bin/deploy.sh @@ -0,0 +1,11 @@ +#!/bin/bash +ID=`lsof -i | grep 5904 | awk '{print $2}'` +echo The process pid is $ID +for id in $ID +do + kill -9 $id + echo killed $id +done +cd /home/admin/app/wangpeng/securitycockpitmini/casic-web-2.0.0/ +nohup java -jar ./lib/casic-web-2.0.0.jar > /dev/null 2>&1 & +exit 0 \ No newline at end of file