Update 'lab7/Jenkinsfile_train'
This commit is contained in:
parent
732499e4bc
commit
0244b2a63f
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user