From 0a541826d414f66ed78042becedfe209a6f37cae Mon Sep 17 00:00:00 2001 From: lewis_yan Date: Wed, 1 Apr 2026 10:58:51 +0800 Subject: [PATCH] chore: remove redundant Install & Build stage (Docker handles build) --- web/Jenkinsfile | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/web/Jenkinsfile b/web/Jenkinsfile index 2230533..adb7969 100644 --- a/web/Jenkinsfile +++ b/web/Jenkinsfile @@ -15,22 +15,6 @@ pipeline { } } - stage('Install & Build') { - steps { - sh """ - cd web - # 安装 Node.js 和 pnpm (如果不存在) - if ! command -v pnpm &> /dev/null; then - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs - npm install -g pnpm --registry=https://registry.npmmirror.com - fi - pnpm install --registry=https://registry.npmmirror.com - pnpm build - """ - } - } - stage('Build Image') { steps { script {