From 01b095e900c2b738e8241ff89d93df467e9f129f Mon Sep 17 00:00:00 2001 From: sophie <16087569+sophie_liang@user.noreply.gitee.com> Date: Thu, 21 May 2026 19:14:49 +0800 Subject: [PATCH] jenkins --- Jenkinsfile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ef465e07..b11b18e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -329,21 +329,21 @@ pipeline { } } - stage('Frontend Build (CI)') { - when { - expression { env.FRONTEND_CHANGED == 'true' } - } - steps { - echo '[Frontend Build] FRONTEND_CHANGED=true,容器内执行 npm ci && npm run build(与部署构建一致)' - sh ''' - set -e - docker run --rm \ - -v "${WORKSPACE}:/repo" \ - -w /repo \ - node:22-alpine sh -c "chmod +x scripts/ci_frontend_build.sh && ./scripts/ci_frontend_build.sh" - ''' - } - } + // stage('Frontend Build (CI)') { + // when { + // expression { env.FRONTEND_CHANGED == 'true' } + // } + // steps { + // echo '[Frontend Build] FRONTEND_CHANGED=true,容器内执行 npm ci && npm run build(与部署构建一致)' + // sh ''' + // set -e + // docker run --rm \ + // -v "${WORKSPACE}:/repo" \ + // -w /repo \ + // node:22-alpine sh -c "chmod +x scripts/ci_frontend_build.sh && ./scripts/ci_frontend_build.sh" + // ''' + // } + // } stage('Deploy Dev') { when {