File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ pipeline {
103103 // sh 'twine upload --config-file .pypirc dist/*'
104104 // }
105105 environment {
106- TWINE_REPOSITORY_URL = ' http://gitea.lan:3000/api/packages/root/pypi'
107- TWINE_CREDENTIALS = credentials(' gitea' )
108- TWINE_USERNAME = TWINE_CREDENTIALS_USR
109- TWINE_PASSWORD = TWINE_CREDENTIALS_PSW
106+ UV_PUBLISH_URL = ' http://gitea.lan:3000/api/packages/root/pypi'
107+ CREDENTIALS = credentials(' gitea' )
108+ UV_PUBLISH_USERNAME = " $C REDENTIALS_USR "
109+ UV_PUBLISH_PASSWORD = " $C REDENTIALS_PSW "
110110 }
111111 steps {
112112 sh ' ./tools/deploy-package.sh'
Original file line number Diff line number Diff line change 6161 )
6262 }
6363 stage(' Test Python package' ) {
64- sh ' pip install -e .'
65- sh ' pytest'
64+ sh ' ./tools/test-package.sh'
6665 junit(
6766 testResults : ' build/test-report.xml'
6867 )
@@ -80,13 +79,13 @@ node {
8079 // sh 'twine upload --config-file .pypirc dist/*'
8180 // }
8281 withEnv([
83- ' TWINE_REPOSITORY_URL =http://gitea.lan:3000/api/packages/root/pypi'
82+ ' UV_PUBLISH_URL =http://gitea.lan:3000/api/packages/root/pypi'
8483 ]) {
8584 withCredentials([
8685 usernamePassword(
8786 credentialsId : ' gitea' ,
88- usernameVariable : ' TWINE_USERNAME ' ,
89- passwordVariable : ' TWINE_PASSWORD '
87+ usernameVariable : ' UV_PUBLISH_USERNAME ' ,
88+ passwordVariable : ' UV_PUBLISH_PASSWORD '
9089 )
9190 ]) {
9291 sh ' ./tools/deploy-package.sh'
You can’t perform that action at this time.
0 commit comments