training jenkinsfile fix
Some checks failed
444507-training/pipeline/head There was a failure building this commit
s444507-predict-s444356/pipeline/head This commit looks good
s444507-evaluation/pipeline/head This commit looks good

This commit is contained in:
Adam Wojdyla 2022-05-16 09:14:35 +02:00
parent 66a3ed2247
commit a7e803b938

View File

@ -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') {