Commit ee69a6df authored by 赵建伟's avatar 赵建伟

update shells

parent 780dab06
...@@ -6,6 +6,4 @@ set -x ...@@ -6,6 +6,4 @@ set -x
export MAVEN_HOME=/opt/apache-maven-3.6.3 export MAVEN_HOME=/opt/apache-maven-3.6.3
export PATH=$PATH:$MAVEN_HOME/bin export PATH=$PATH:$MAVEN_HOME/bin
cd /srv/apps/flink-monitor
git pull origin master
mvn clean package -DskipTests mvn clean package -DskipTests
\ No newline at end of file
#!/bin/bash
set -e
set -x
cd /srv/apps/flink-monitor
git pull origin master
\ No newline at end of file
#!/bin/bash
set -e
set -x
cd /srv/apps/flink-monitor
git pull origin zhaojianwei
\ No newline at end of file
...@@ -5,5 +5,6 @@ set -x ...@@ -5,5 +5,6 @@ set -x
date_str=`date +"%Y%m%d%H%M%S"` date_str=`date +"%Y%m%d%H%M%S"`
mv ../libs/flink-monitor-1.0-SNAPSHOT.jar ../libs/flink-monitor-1.0-SNAPSHOT.jar.$date_str cp ../libs/flink-monitor-1.0-SNAPSHOT.jar ../libs/flink-monitor-1.0-SNAPSHOT.jar.$date_str
rm -rf ../libs/flink-monitor-1.0-SNAPSHOT.jar
cp ../target/flink-monitor-1.0-SNAPSHOT.jar ../libs/ cp ../target/flink-monitor-1.0-SNAPSHOT.jar ../libs/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment