Skip to content

Commit c9beb5c

Browse files
validate staging
1 parent 89d2ccd commit c9beb5c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Jenkinsfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ pipeline {
4141

4242
stage('Beta Release') {
4343
when {
44-
branch 'master'
44+
branch 'staging'
4545
}
4646
steps {
4747
sh '''
4848
sed -i -E 's/^(name *= *")superclient(")/\\1superclient-beta\\2/' pyproject.toml
4949
'''
5050
sh 'pip install --quiet build twine'
5151
sh 'python -m build'
52-
withCredentials([usernamePassword(credentialsId: 'superstream-pypi', usernameVariable: 'USR', passwordVariable: 'PSW')]) {
53-
sh """
54-
twine upload dist/* \
55-
-u $USR \
56-
-p $PSW
57-
"""
58-
}
52+
// withCredentials([usernamePassword(credentialsId: 'superstream-pypi', usernameVariable: 'USR', passwordVariable: 'PSW')]) {
53+
// sh """
54+
// twine upload dist/* \
55+
// -u $USR \
56+
// -p $PSW
57+
// """
58+
// }
5959
}
6060
}
6161
stage('Prod Release') {

0 commit comments

Comments
 (0)