diff --git a/lab8/Jenkinsfile_predict_artifact b/lab8/Jenkinsfile_predict_artifact index a1b7b63..acdbad7 100644 --- a/lab8/Jenkinsfile_predict_artifact +++ b/lab8/Jenkinsfile_predict_artifact @@ -21,7 +21,7 @@ pipeline { steps { echo 'Copying model from s444417-training...' copyArtifacts filter: 'mlruns.tar.gz', projectName: 's444417-training/master', selector: buildParameter('BUILD_SELECTOR') - sh 'mkdir mlruns_s444417 && tar xvzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1' + sh 'mkdir -p mlruns_s444417 && tar xvzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1' echo 'Model copied' echo 'Making a prediction...' sh "echo ${params.INPUT} > input_example.json"