forked from s464914/ium_464914
Update Jenkinsfile
This commit is contained in:
parent
821d0d7e9c
commit
9413b985c5
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -38,6 +38,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Train and Predict') {
|
stage('Train and Predict') {
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
def customImage = docker.build("custom-image")
|
def customImage = docker.build("custom-image")
|
||||||
customImage.inside {
|
customImage.inside {
|
||||||
sh 'python3 ./model.py'
|
sh 'python3 ./model.py'
|
||||||
@ -47,4 +48,5 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user