diff --git a/Jenkinsfile_training b/Jenkinsfile_training index 36af2f1..fff2cd1 100644 --- a/Jenkinsfile_training +++ b/Jenkinsfile_training @@ -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') {