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 {