Update 'lab7/Jenkinsfile_train'
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-05-06 19:58:34 +02:00
parent 732499e4bc
commit 0244b2a63f

View File

@ -14,10 +14,9 @@ pipeline {
echo 'Conducting simple regression model test' echo 'Conducting simple regression model test'
sh 'python3 simple_regression_lab7.py' sh 'python3 simple_regression_lab7.py'
echo 'Model and predictions saved' echo 'Model and predictions saved'
sh 'ls -lh'
sh 'head lego_reg_results.csv' sh 'head lego_reg_results.csv'
sh 'ls -lh lego_reg_model'
echo 'Archiving model...' echo 'Archiving model...'
sh 'ls -lh lego_reg_model'
sh 'tar -czf lego_reg_model.tar.gz lego_reg_model/' sh 'tar -czf lego_reg_model.tar.gz lego_reg_model/'
archiveArtifacts 'lego_reg_model.tar.gz' archiveArtifacts 'lego_reg_model.tar.gz'
echo 'Model archived' echo 'Model archived'