@@ -42,6 +42,15 @@ git pull origin master # 拉取仓库
cd ..
+java -jar $bashPath/DataWorks-flow-touch.jar -w
+
+if [ $? -eq 0 ]; then
+ echo "上游数据已同步完成!"
+else
+ echo "上游数据长时间未同步完成,程序中止!"
+ exit $?
+fi
java -jar $bashPath/DataWorks-flow-touch.jar -q
if [ $? -eq 0 ]; then