From e3047d60d7cc3947a4c5e182857631f64ee8dd53 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 9 Jan 2025 07:45:19 +0000 Subject: [PATCH] Removed version selector for python --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bbbec31..7c225d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,12 +20,12 @@ pipeline { } stage("build") { steps { - sh "python3.11 -m build" + sh "python -m build" } } stage("test installation") { steps { - sh "python3.11 -m pip install dist/*.whl --force-reinstall" + sh "python -m pip install dist/*.whl --force-reinstall" sh "automlst -h" } } @@ -42,7 +42,7 @@ pipeline { branch '**/main' } steps { - sh returnStatus: true, script: 'python3.11 -m twine upload --repository-url https://git.reslate.systems/api/packages/${CREDS_USR}/pypi -u ${CREDS_USR} -p ${CREDS_PSW} --non-interactive --disable-progress-bar --verbose dist/*' + sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/${CREDS_USR}/pypi -u ${CREDS_USR} -p ${CREDS_PSW} --non-interactive --disable-progress-bar --verbose dist/*' } } }