Rermoved publishing branch and tag conditions, publish errors are no longer considered failures
This commit is contained in:
parent
ad082b8af6
commit
206a105bf9
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -33,14 +33,8 @@ pipeline {
|
||||
environment {
|
||||
CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311')
|
||||
}
|
||||
when {
|
||||
allOf {
|
||||
branch '**/main/*'
|
||||
tag '*.*.*'
|
||||
}
|
||||
}
|
||||
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 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