From 07e1d0cbaaa148e9769848dc8696ded58a987fd3 Mon Sep 17 00:00:00 2001 From: jianghao <332515344@qq.com> Date: Mon, 29 Dec 2025 14:59:49 +0800 Subject: [PATCH] Jenkins build --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 40dcb97..cfee049 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,7 @@ pipeline { sh "chown -R jenkins:jenkins ${workspace}" // 使用更健壮的Docker命令 - sh 'docker run -u $ \(id -u\): $ \(id -g\) -v $ {workspace}:/app -w /app node:18-alpine sh -c "npm install && npm run build"' + sh 'docker run -v $ {workspace}:/app -w /app node:18-alpine sh -c "npm install && npm run build"' } } }