From 79989085d8190e6b0f37e394f9ee35f0323065f6 Mon Sep 17 00:00:00 2001 From: panjunjie <46790855@qq.com> Date: Mon, 11 Aug 2025 16:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正jenkins部署代码 --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 409f068..1b4a999 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,8 +24,7 @@ pipeline { rm -rf node_modules package-lock.json npm cache clean --force - echo "设置国内镜像源加速..." - # npm config set registry https://registry.npmmirror.com + echo "设置国内腾讯云镜像源加速..." npm config set registry https://mirrors.cloud.tencent.com/npm/ # 安装其他依赖 @@ -46,7 +45,7 @@ pipeline { # 公共部署逻辑(创建目录、清理、复制) mkdir -p ${DEPLOY_DIR} rm -rf ${DEPLOY_DIR}/* - cp -r dist/* ${DEPLOY_DIR}/ + cp -r admin/* ${DEPLOY_DIR}/ ''' } }