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