From ad32819ae440bb97d2986235d971896750ecfc7d Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 13 Jul 2026 10:47:06 +0800 Subject: [PATCH] =?UTF-8?q?Jenkins=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index df3240f..9bc6f3b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,7 +31,14 @@ pipeline { stages { stage('Checkout') { - steps { checkout scm } + steps { + checkout scm + // Pre-create the host-side uv cache dir as the Jenkins user *before* the + // 'Test' stage's docker agent bind-mounts it. If this dir doesn't exist + // yet, Docker auto-creates it as root when the container starts, which + // then blocks writes from the non-root user the container runs as. + sh 'mkdir -p "$HOME/.cache/uv"' + } } // Root, cloud-api, and host-agent suites, excluding tests that need real