@@ -513,85 +513,85 @@ def call(){
513513 }
514514 }
515515 }
516- stage(' Testing' ){
517- when{
518- equals expected : true , actual : params. TEST_PACKAGES
519- }
520- environment{
521- PIP_CACHE_DIR = ' /tmp/pipcache'
522- UV_INDEX_STRATEGY = ' unsafe-best-match'
523- UV_TOOL_DIR = ' /tmp/uvtools'
524- UV_PYTHON_INSTALL_DIR = ' /tmp/uvpython'
525- UV_CACHE_DIR = ' /tmp/uvcache'
526- }
527- matrix {
528- axes {
529- axis {
530- name ' PYTHON_VERSION'
531- values ' 3.10' , ' 3.11' , ' 3.12' , ' 3.13' , ' 3.14' , ' 3.14t'
532- }
533- axis {
534- name ' PACKAGE_TYPE'
535- values ' wheel' , ' sdist'
536- }
537- axis {
538- name ' ARCHITECTURE'
539- values ' arm64' , ' x86_64'
540- }
541- }
542- when{
543- equals expected : true , actual : params[" INCLUDE_LINUX-${ ARCHITECTURE} " . toUpperCase()]
544- beforeAgent true
545- }
546- stages {
547- stage(' Test Wheel Package' ){
548- agent {
549- docker {
550- image ' ghcr.io/astral-sh/uv:debian'
551- label " linux && ${ ARCHITECTURE} && docker"
552- args ' --mount source=python-tmp-getmarapi,target="/tmp" --tmpfs /tox_workdir:exec -e UV_PROJECT_ENVIRONMENT=/tox_workdir/.venv'
553- }
554- }
555- when{
556- expression{PACKAGE_TYPE == ' wheel' }
557- beforeAgent true
558- }
559- steps{
560- unstash ' PYTHON_PACKAGES'
561- script{
562- sh(
563- label : ' Testing with tox' ,
564- script : " uv run --frozen --no-dev --only-group tox --with tox-uv tox --workdir /tox_workdir/tox --installpkg ${ findFiles(glob: 'dist/*.whl')[0].path} -e py${ PYTHON_VERSION.replace('.', '')} "
565- )
566- }
567- }
568- }
569- stage(' Test Source Package' ){
570- agent {
571- dockerfile {
572- filename ' ci/docker/python/linux/Dockerfile'
573- label ' linux && docker && x86'
574- additionalBuildArgs ' --build-arg PIP_EXTRA_INDEX_URL --build-arg PIP_INDEX_URL --build-arg PIP_CACHE_DIR=/.cache/pip'
575- args ' --mount source=python-jenkins-tmp-getmarcapi,target=/tmp --tmpfs /tox_workdir:exec -e UV_PROJECT_ENVIRONMENT=/tox_workdir/.venv'
576- }
577- }
578- when{
579- expression{PACKAGE_TYPE == ' sdist' }
580- beforeAgent true
581- }
582- steps{
583- unstash ' PYTHON_PACKAGES'
584- script{
585- sh(
586- label : ' Testing with tox' ,
587- script : " uv run --only-group tox --with tox-uv --frozen tox --workdir /tox_workdir/tox --installpkg ${ findFiles(glob: 'dist/*.tar.gz')[0].path} -e py${ PYTHON_VERSION.replace('.', '')} "
588- )
589- }
590- }
591- }
592- }
593- }
594- }
516+ // stage('Testing'){
517+ // when{
518+ // equals expected: true, actual: params.TEST_PACKAGES
519+ // }
520+ // environment{
521+ // PIP_CACHE_DIR='/tmp/pipcache'
522+ // UV_INDEX_STRATEGY='unsafe-best-match'
523+ // UV_TOOL_DIR='/tmp/uvtools'
524+ // UV_PYTHON_INSTALL_DIR='/tmp/uvpython'
525+ // UV_CACHE_DIR='/tmp/uvcache'
526+ // }
527+ // matrix {
528+ // axes {
529+ // axis {
530+ // name 'PYTHON_VERSION'
531+ // values '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'
532+ // }
533+ // axis {
534+ // name 'PACKAGE_TYPE'
535+ // values 'wheel', 'sdist'
536+ // }
537+ // axis {
538+ // name 'ARCHITECTURE'
539+ // values 'arm64', 'x86_64'
540+ // }
541+ // }
542+ // when{
543+ // equals expected: true, actual: params["INCLUDE_LINUX-${ARCHITECTURE}".toUpperCase()]
544+ // beforeAgent true
545+ // }
546+ // stages {
547+ // stage('Test Wheel Package'){
548+ // agent {
549+ // docker {
550+ // image 'ghcr.io/astral-sh/uv:debian'
551+ // label "linux && ${ARCHITECTURE} && docker"
552+ // args '--mount source=python-tmp-getmarapi,target="/tmp" --tmpfs /tox_workdir:exec -e UV_PROJECT_ENVIRONMENT=/tox_workdir/.venv'
553+ // }
554+ // }
555+ // when{
556+ // expression{PACKAGE_TYPE == 'wheel'}
557+ // beforeAgent true
558+ // }
559+ // steps{
560+ // unstash 'PYTHON_PACKAGES'
561+ // script{
562+ // sh(
563+ // label: 'Testing with tox',
564+ // script: "uv run --frozen --no-dev --only-group tox --with tox-uv tox --workdir /tox_workdir/tox --installpkg ${findFiles(glob: 'dist/*.whl')[0].path} -e py${PYTHON_VERSION.replace('.', '')}"
565+ // )
566+ // }
567+ // }
568+ // }
569+ // stage('Test Source Package'){
570+ // agent {
571+ // dockerfile {
572+ // filename 'ci/docker/python/linux/Dockerfile'
573+ // label 'linux && docker && x86'
574+ // additionalBuildArgs '--build-arg PIP_EXTRA_INDEX_URL --build-arg PIP_INDEX_URL --build-arg PIP_CACHE_DIR=/.cache/pip'
575+ // args '--mount source=python-jenkins-tmp-getmarcapi,target=/tmp --tmpfs /tox_workdir:exec -e UV_PROJECT_ENVIRONMENT=/tox_workdir/.venv'
576+ // }
577+ // }
578+ // when{
579+ // expression{PACKAGE_TYPE == 'sdist'}
580+ // beforeAgent true
581+ // }
582+ // steps{
583+ // unstash 'PYTHON_PACKAGES'
584+ // script{
585+ // sh(
586+ // label: 'Testing with tox',
587+ // script: "uv run --only-group tox --with tox-uv --frozen tox --workdir /tox_workdir/tox --installpkg ${findFiles(glob: 'dist/*.tar.gz')[0].path} -e py${PYTHON_VERSION.replace('.', '')}"
588+ // )
589+ // }
590+ // }
591+ // }
592+ // }
593+ // }
594+ // }
595595 }
596596 }
597597 stage(' Deployment' ){
0 commit comments