@@ -487,8 +487,10 @@ pipeline {
487487 ' UV_TOOL_DIR=/tmp/uvtools' ,
488488 ' UV_PYTHON_CACHE_DIR=/tmp/uvpython' ,
489489 ' UV_CACHE_DIR=/tmp/uvcache' ,
490+ " TRIPWIRE_SAMPLE_FILES=${ WORKSPACE} /samples" ,
490491 ]){
491492 sh " uv python install cpython-${ entry.PYTHON_VERSION} "
493+ unstash ' SAMPLE_FILES'
492494 def attempt = 0
493495 retry(2 ){
494496 attempt + = 1
@@ -507,11 +509,13 @@ pipeline {
507509 ' UV_PYTHON_CACHE_DIR=C:\\ Users\\ ContainerUser\\ Documents\\ cache\\ uvpython' ,
508510 ' UV_CACHE_DIR=C:\\ Users\\ ContainerUser\\ Documents\\ cache\\ uvcache' ,
509511 " TOX_UV_PATH=${ env.WORKSPACE} \\ venv\\ Scripts\\ uv.exe" ,
512+ " TRIPWIRE_SAMPLE_FILES=${ WORKSPACE} \\ samples"
510513 ]){
511514 bat """ python -m venv venv
512515 .\\ venv\\ Scripts\\ pip install --disable-pip-version-check uv
513516 .\\ venv\\ Scripts\\ uv python install cpython-${ entry.PYTHON_VERSION}
514517 """
518+ unstash ' SAMPLE_FILES'
515519 def attempt = 0
516520 retry(2 ){
517521 attempt + = 1
@@ -531,7 +535,8 @@ pipeline {
531535 ./venv/bin/pip install --disable-pip-version-check uv
532536 ./venv/bin/uv python install cpython-${ entry.PYTHON_VERSION}
533537 """
534- withEnv([" TOX_UV_PATH=${ env.WORKSPACE} /venv/bin/uv" ]){
538+ withEnv([" TOX_UV_PATH=${ env.WORKSPACE} /venv/bin/uv" , " TRIPWIRE_SAMPLE_FILES=${ WORKSPACE} /samples" ]){
539+ unstash ' SAMPLE_FILES'
535540 def attempt = 0
536541 retry(2 ){
537542 attempt + = 1
@@ -548,7 +553,8 @@ pipeline {
548553 .\\ venv\\ Scripts\\ pip install --disable-pip-version-check uv
549554 .\\ venv\\ Scripts\\ uv python install cpython-${ entry.PYTHON_VERSION}
550555 """
551- withEnv([" TOX_UV_PATH=${ env.WORKSPACE} \\ venv\\ Scripts\\ uv.exe" ]){
556+ withEnv([" TOX_UV_PATH=${ env.WORKSPACE} \\ venv\\ Scripts\\ uv.exe" , " TRIPWIRE_SAMPLE_FILES=${ WORKSPACE} /samples" ]){
557+ unstash ' SAMPLE_FILES'
552558 def attempt = 0
553559 retry(2 ){
554560 attempt + = 1
0 commit comments