training jenkinsfile fix
This commit is contained in:
parent
66a3ed2247
commit
a7e803b938
@ -1,7 +1,9 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker { image 's444507_create_dataset_image:latest' }
|
||||
args '-v /mlruns:/mlruns'
|
||||
docker {
|
||||
image 's444507_create_dataset_image:latest'
|
||||
args '-v /mlruns:/mlruns'
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
string(name: 'epoch', defaultValue: '100', description: 'Number of epochs to train model.')
|
||||
@ -14,7 +16,7 @@ pipeline {
|
||||
archiveArtifacts artifacts: 'mlruns/**'
|
||||
archiveArtifacts artifacts: 'my_model/**'
|
||||
sh 'rm -r mlruns'
|
||||
sh 'rm -r my_model'
|
||||
sh 'rm -r my_model'
|
||||
}
|
||||
}
|
||||
stage('Train model with sacred') {
|
||||
|
Loading…
Reference in New Issue
Block a user