Update 'lab6/Jenkinsfile_eval'
All checks were successful
s449288-evaluation/pipeline/head This commit looks good
s449288-training/pipeline/head This commit looks good

This commit is contained in:
Kacper Dudzic 2022-04-25 23:28:39 +02:00
parent 3c26863f73
commit d7249b009a

View File

@ -17,6 +17,7 @@ pipeline {
copyArtifacts filter: 'eval_results.txt', projectName: 's449288-evaluation/master/', optional: 'True' copyArtifacts filter: 'eval_results.txt', projectName: 's449288-evaluation/master/', optional: 'True'
echo 'Metrics file copied if it did not exist' echo 'Metrics file copied if it did not exist'
echo 'Evaluating model...' echo 'Evaluating model...'
sh 'rm eval_results.txt'
sh 'python3 evaluate.py' sh 'python3 evaluate.py'
echo 'Model evaluated. Metrics saved. Plot saved.' echo 'Model evaluated. Metrics saved. Plot saved.'
sh 'head eval_results.txt' sh 'head eval_results.txt'