diff --git a/Jenkinsfile b/Jenkinsfile index c3999d74..38e8c4ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1081,14 +1081,15 @@ pipeline { image = docker.build(UUID.randomUUID().toString(), '-f ci/docker/windows/tox/Dockerfile --build-arg PIP_EXTRA_INDEX_URL --build-arg PIP_INDEX_URL --build-arg CHOCOLATEY_SOURCE --build-arg chocolateyVersion .') } try{ - image.inside('--mount source=python-tmp-py3exiv2bind,target=C:\\Users\\ContainerUser\\Documents'){ + image.inside('--mount source=python-uv-python-install-dir-py3exiv2bind,target=C:\\Users\\ContainerUser\\Documents\\uvpython'){ try{ retry(3){ bat(label: 'Running Tox', script: """py -m venv venv venv\\Scripts\\pip install --disable-pip-version-check uv - venv\\Scripts\\uv python install cpython-${version} - venv\\Scripts\\uvx -p ${version} --with-requirements requirements-dev.txt --with tox-uv tox run -e ${toxEnv} --workdir %WORKSPACE_TMP%\\.tox + venv\\Scripts\\uv python install --verbose cpython-${version}-windows + venv\\Scripts\\uv python list --only-installed + venv\\Scripts\\uvx --python cpython-${version}-windows --with-requirements requirements-dev.txt --with tox-uv tox run -e ${toxEnv} --workdir %WORKSPACE_TMP%\\.tox rmdir /S /Q venv """ ) @@ -1285,7 +1286,7 @@ pipeline { image = docker.build(UUID.randomUUID().toString(), '-f ci/docker/windows/tox/Dockerfile --build-arg PIP_EXTRA_INDEX_URL --build-arg PIP_INDEX_URL --build-arg CHOCOLATEY_SOURCE --build-arg chocolateyVersion .') } try{ - image.inside('--mount source=python-tox-tmp-py3exiv2bind,target=C:\\Users\\ContainerUser\\Documents'){ + image.inside('--mount source=python-uv-python-install-dir-py3exiv2bind,target=C:\\Users\\ContainerUser\\Documents\\uvpython'){ checkout scm unstash 'sdist' findFiles(glob: 'dist/*.tar.gz').each{