Update 'lab8/Jenkinsfile_predict_artifact'
This commit is contained in:
parent
981c7f5f01
commit
570f4ea06a
@ -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 -p mlruns_s444417 && tar xvzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1'
|
||||
sh 'mkdir -p mlruns_s444417 && tar xzf mlruns.tar.gz -C mlruns_s444417 --strip-components 1'
|
||||
echo 'Model copied'
|
||||
echo 'Making a prediction...'
|
||||
sh "echo ${params.INPUT} > input_example.json"
|
||||
|
Loading…
Reference in New Issue
Block a user