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}/ ''' } }