From a7e803b9381ab4c1073ebcf89960aff3526a72c5 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Mon, 16 May 2022 09:14:35 +0200 Subject: [PATCH] training jenkinsfile fix --- Jenkinsfile_training | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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') {