Browse Source

Merge branch 'pattaya' into dev

yb 3 tuần trước cách đây
mục cha
commit
87d498ab3c
1 tập tin đã thay đổi với 2 bổ sung25 xóa
  1. 2 25
      Jenkinsfile

+ 2 - 25
Jenkinsfile

@@ -174,29 +174,6 @@ pipeline {
             }
         }
 
-        stage('更新子模块') {
-            steps {
-                script {
-                    sh '''
-                        source ${WORKSPACE}/jenkins/lib/logger.sh
-                        source ${WORKSPACE}/jenkins/lib/telegram.sh
-
-                        log_message "检查并更新 Git 子模块"
-
-                        if [ -f ".gitmodules" ]; then
-                            log_message "发现 .gitmodules,开始更新子模块"
-                            git submodule update --init --recursive
-                            log_message "子模块更新完成"
-                        else
-                            log_message "没有子模块,跳过"
-                        fi
-
-                        update_progress 30 "子模块更新完成"
-                    '''
-                }
-            }
-        }
-
         stage('依赖安装') {
             steps {
                 script {
@@ -231,7 +208,7 @@ pipeline {
                         INSTALL_DURATION=$((INSTALL_END - INSTALL_START))
                         log_message "依赖安装完成,耗时: ${INSTALL_DURATION}秒"
 
-                        update_progress 40 "依赖安装完成"
+                        update_progress 35 "依赖安装完成"
                     '''
                 }
             }
@@ -260,7 +237,7 @@ pipeline {
 
                         log_message "配置文件检查完成"
 
-                        update_progress 55 "配置文件检查完成"
+                        update_progress 50 "配置文件检查完成"
                     '''
                 }
             }