Update 'lab8/Jenkinsfile_predict_artifact'
This commit is contained in:
parent
3c60e6608c
commit
5248dca6f7
@ -24,7 +24,7 @@ pipeline {
|
|||||||
sh 'mkdir mlruns_s444417 && tar xvzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1'
|
sh 'mkdir mlruns_s444417 && tar xvzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1'
|
||||||
echo 'Model copied'
|
echo 'Model copied'
|
||||||
echo 'Making a prediction...'
|
echo 'Making a prediction...'
|
||||||
sh 'echo ${params.INPUT} > input_example.json'
|
sh "echo ${params.INPUT} > input_example.json"
|
||||||
sh 'python3 predict_artifact.py'
|
sh 'python3 predict_artifact.py'
|
||||||
echo 'Prediction made'
|
echo 'Prediction made'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user