Updated 'Jenkinsfile'
All checks were successful
ydeng/mltraining/pipeline/head This commit looks good
All checks were successful
ydeng/mltraining/pipeline/head This commit looks good
This commit is contained in:
parent
4c0e7fe25c
commit
2ec0d35edc
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ pipeline {
|
|||||||
CREDS = credentials('rs-git-package-registry-ydeng')
|
CREDS = credentials('rs-git-package-registry-ydeng')
|
||||||
}
|
}
|
||||||
when {
|
when {
|
||||||
branch '**/main'
|
branch '**/master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
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/*'
|
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/*'
|
||||||
|
Reference in New Issue
Block a user