Browse Source

ci: 自动同步git上的job任务

许家凯 4 years ago
parent
commit
8085751f70
1 changed files with 6 additions and 0 deletions
  1. 6 0
      start.sh

+ 6 - 0
start.sh

@@ -35,6 +35,12 @@ if [ $# -eq 0 ];then
         echo "---------------------------------------------------------------------------"
 fi
 
+# shellcheck disable=SC2164
+cd $bashPath/repo
+
+git pull origin master # 拉取仓库
+
+
 java -jar $bashPath/DataWorks-flow-touch.jar -q
 
 if [ $? -eq 0 ]; then