diff --git a/Jenkinsfile b/Jenkinsfile index a137b24..67d218f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -71,12 +71,11 @@ pipeline { cp backend/package.json build-output/backend/ # cp backend/package-lock.json build-output/backend/ - # 复制 shared 包和 Docker 配置 - if [ -d shared ]; then - cp -r shared/* build-output/ - fi + # 复制 shared + cp -r shared/* build-output/shared/ - cp package.json build-output/ + + cp package.json build-output/package.json ''' }