Jenkins build
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
2025-12-29 15:15:28 +08:00
parent b0a6169a3b
commit c85569bf6c

3
Jenkinsfile vendored
View File

@@ -52,8 +52,7 @@ pipeline {
sh "chown -R jenkins:jenkins ${workspace}" sh "chown -R jenkins:jenkins ${workspace}"
// 使用更健壮的Docker命令 // 使用更健壮的Docker命令
sh 'docker run -v ./:/app -w /app node:18-alpine sh -c "cd /app && ls -la && npm install && npm run build"' sh 'docker run --rm -v "$(pwd)":/app -w /app node:18-alpine sh -c "ls -la && npm ci && npm run build"' }
}
} }
} }