@@ -225,7 +225,7 @@ def call(){
225225 try {
226226 envs = sh(
227227 label : ' Get tox environments' ,
228- script : ' uv run --only-group=tox --isolated --frozen --quiet tox list -d --no-desc' ,
228+ script : ' uv run --only-group=tox --isolated --frozen --quiet tox list -d --no-desc --tmpfs /ci_tmp:exec -e TOX_WORK_DIR=/ci_tmp/tox ' ,
229229 returnStdout : true ,
230230 ). trim(). split(' \n ' )
231231 } catch (e){
@@ -254,7 +254,7 @@ def call(){
254254 node(' docker && linux' ){
255255 checkout scm
256256 try {
257- docker. image(' ghcr.io/astral-sh/uv:debian' ). inside(' --mount source=python-tmp-packageValidation,target=/tmp --tmpfs /.local/share:exec --tmpfs /.local/bin:exec' ){
257+ docker. image(' ghcr.io/astral-sh/uv:debian' ). inside(' --mount source=python-tmp-packageValidation,target=/tmp --tmpfs /.local/share:exec --tmpfs /.local/bin:exec --tmpfs /ci_tmp:exec -e TOX_WORK_DIR=/ci_tmp/tox -e UV_PROJECT_ENVIRONMENT=/ci_tmp/venv ' ){
258258 try {
259259 sh( label : ' Running Tox' ,
260260 script : """ uv python install cpython-${ version}
@@ -344,14 +344,6 @@ def call(){
344344 }
345345 }
346346 }
347- } finally {
348- cleanWs(
349- patterns : [
350- [pattern : ' venv/' , type : ' INCLUDE' ],
351- [pattern : ' .tox' , type : ' INCLUDE' ],
352- [pattern : ' **/__pycache__/' , type : ' INCLUDE' ],
353- ]
354- )
355347 }
356348 }
357349 } finally {
@@ -469,6 +461,7 @@ def call(){
469461 .inside(
470462 isUnix() ?
471463 ' --mount source=python-tmp-packageValidation,target=/tmp' +
464+ ' --tmpfs /.local/bin:exec' +
472465 ' --tmpfs /.local/share:exec'
473466 :
474467 " --mount type=volume,source=uv_python_cache_dir,target=C:\\ Users\\ ContainerUser\\ Documents\\ uvpython" +
0 commit comments