Update 'lab6/Jenkinsfile_eval'
Some checks failed
s449288-evaluation/pipeline/head There was a failure building this commit
s449288-training/pipeline/head There was a failure building this commit

This commit is contained in:
Kacper Dudzic 2022-04-25 22:53:03 +02:00
parent 035f4e0ae6
commit 60ca771c06

View File

@ -15,7 +15,7 @@ pipeline {
sh 'tar xvzf lego_reg_model.tar.gz' sh 'tar xvzf lego_reg_model.tar.gz'
echo 'Optional copying of the metrics file from previous build...' 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', optional: 'True'
echo 'Metrics file copied if it didn't exist' echo 'Metrics file copied if it did not exist'
echo 'Evaluating model...' echo 'Evaluating model...'
sh 'python3 evaluate.py' sh 'python3 evaluate.py'
echo 'Model evaluated. Metrics saved. Plot saved.' echo 'Model evaluated. Metrics saved. Plot saved.'