Revert "Always publish on build success"
This reverts commit cc6a7563cafc15686e61810da6c412f27c82c1c8.
This commit is contained in:
parent
5118a25b6a
commit
ad082b8af6
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -33,6 +33,12 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311')
|
CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311')
|
||||||
}
|
}
|
||||||
|
when {
|
||||||
|
allOf {
|
||||||
|
branch '**/main/*'
|
||||||
|
tag '*.*.*'
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 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/*'
|
sh 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