Removed version selector for python
This commit is contained in:
parent
b893d853a7
commit
e3047d60d7
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -20,12 +20,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
sh "python3.11 -m build"
|
sh "python -m build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("test installation") {
|
stage("test installation") {
|
||||||
steps {
|
steps {
|
||||||
sh "python3.11 -m pip install dist/*.whl --force-reinstall"
|
sh "python -m pip install dist/*.whl --force-reinstall"
|
||||||
sh "automlst -h"
|
sh "automlst -h"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -42,7 +42,7 @@ pipeline {
|
|||||||
branch '**/main'
|
branch '**/main'
|
||||||
}
|
}
|
||||||
steps {
|
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/*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user