Added package testing stage
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
2ec0d35edc
commit
43c6f55a8e
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -20,6 +20,11 @@ pipeline {
|
|||||||
sh "python -m build"
|
sh "python -m build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage("test package") {
|
||||||
|
steps {
|
||||||
|
sh "pip install dist/*.whl"
|
||||||
|
}
|
||||||
|
}
|
||||||
stage("publish") {
|
stage("publish") {
|
||||||
environment {
|
environment {
|
||||||
CREDS = credentials('rs-git-package-registry-ydeng')
|
CREDS = credentials('rs-git-package-registry-ydeng')
|
||||||
|
Reference in New Issue
Block a user