From 981c7f5f01aa3202be0f0c65fa03d4c864f04f99 Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sat, 14 May 2022 15:45:55 +0200 Subject: [PATCH] Update 'lab8/Jenkinsfile_predict_artifact' --- lab8/Jenkinsfile_predict_artifact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"