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