Update 'lab6/Jenkinsfile_eval'
This commit is contained in:
parent
60ca771c06
commit
789ecba3dc
@ -10,11 +10,11 @@ pipeline {
|
||||
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
|
||||
echo 'Datasets copied'
|
||||
echo 'Copying model from the training job...'
|
||||
copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training'
|
||||
copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training/master/'
|
||||
echo 'Model copied'
|
||||
sh 'tar xvzf lego_reg_model.tar.gz'
|
||||
echo 'Optional copying of the metrics file from previous build...'
|
||||
copyArtifacts filter: 'eval_results.txt', projectName: 's449288-evaluation', optional: 'True'
|
||||
copyArtifacts filter: 'eval_results.txt', projectName: 's449288-evaluation/master/', optional: 'True'
|
||||
echo 'Metrics file copied if it did not exist'
|
||||
echo 'Evaluating model...'
|
||||
sh 'python3 evaluate.py'
|
||||
|
Loading…
Reference in New Issue
Block a user