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:
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