Skip to content

Commit bfd62e1

Browse files
Merge pull request #39 from UIUCLibrary/fix-ci
ci: cache python installer instead of application
2 parents 3e33adf + ea6e3bb commit bfd62e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ pipeline {
455455
.inside(
456456
isUnix() ?
457457
'--mount source=tripwire_cache,target=/tmp' :
458-
"--mount type=volume,source=uv_python_install_dir,target=C:\\Users\\ContainerUser\\Documents\\cache\\uvpython \
458+
"--mount type=volume,source=uv_python_cache_dir,target=C:\\Users\\ContainerUser\\Documents\\cache\\uvpython \
459459
--mount type=volume,source=pipcache,target=C:\\Users\\ContainerUser\\Documents\\cache\\pipcache \
460460
--mount type=volume,source=uv_cache_dir,target=C:\\Users\\ContainerUser\\Documents\\cache\\uvcache"
461461
){
@@ -480,7 +480,7 @@ pipeline {
480480
withEnv([
481481
'PIP_CACHE_DIR=C:\\Users\\ContainerUser\\Documents\\cache\\pipcache',
482482
'UV_TOOL_DIR=C:\\Users\\ContainerUser\\Documents\\cache\\uvtools',
483-
'UV_PYTHON_INSTALL_DIR=C:\\Users\\ContainerUser\\Documents\\cache\\uvpython',
483+
'UV_PYTHON_CACHE_DIR=C:\\Users\\ContainerUser\\Documents\\cache\\uvpython',
484484
'UV_CACHE_DIR=C:\\Users\\ContainerUser\\Documents\\cache\\uvcache',
485485
]){
486486
powershell(
@@ -669,7 +669,7 @@ pipeline {
669669
}
670670
stage('Windows Application'){
671671
environment{
672-
UV_PYTHON_INSTALL_DIR='C:\\Users\\ContainerUser\\Documents\\uvpython'
672+
UV_PYTHON_CACHE_DIR='C:\\Users\\ContainerUser\\Documents\\uvpython'
673673
}
674674
when{
675675
equals expected: true, actual: params.PACKAGE_STANDALONE_WINDOWS_INSTALLER

0 commit comments

Comments
 (0)