Skip to content

Commit d098c7d

Browse files
aline publish
1 parent 0e06bf2 commit d098c7d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Jenkinsfile

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,20 @@ pipeline {
5757
sh 'pip install build'
5858
sh 'python -m build'
5959
sh 'ls dist/'
60-
// withCredentials([usernamePassword(credentialsId: 'superstream-pypi', usernameVariable: 'USR', passwordVariable: 'PSW')]) {
61-
// // sh """
62-
// // python3 patch/patch.py --src "dist/superstream_confluent_kafka_beta-${env.versionTag}-cp311-cp311-linux_x86_64.whl" --output "dist/" --prefix "superstream_confluent_kafka_beta-${env.versionTag}"
63-
// // """
64-
// // sh"""
65-
// // rm dist/superstream_confluent_kafka_beta-${env.versionTag}-cp311-cp311-linux_x86_64.whl
66-
// // /tmp/.local/bin/pdm publish --no-build --username $USR --password $PSW
67-
// // """
68-
// sh """
69-
// twine upload dist/* \
70-
// -u $USR \
71-
// -p $PSW
72-
// """
73-
// }
60+
withCredentials([usernamePassword(credentialsId: 'superstream-pypi', usernameVariable: 'USR', passwordVariable: 'PSW')]) {
61+
// sh """
62+
// python3 patch/patch.py --src "dist/superstream_confluent_kafka_beta-${env.versionTag}-cp311-cp311-linux_x86_64.whl" --output "dist/" --prefix "superstream_confluent_kafka_beta-${env.versionTag}"
63+
// """
64+
// sh"""
65+
// rm dist/superstream_confluent_kafka_beta-${env.versionTag}-cp311-cp311-linux_x86_64.whl
66+
// /tmp/.local/bin/pdm publish --no-build --username $USR --password $PSW
67+
// """
68+
sh """
69+
twine upload dist/* \
70+
-u $USR \
71+
-p $PSW
72+
"""
73+
}
7474
}
7575
}
7676
// stage('Prod Release') {

0 commit comments

Comments
 (0)