Update 'lab7/Jenkinsfile_train'
s449288-training/pipeline/head There was a failure building this commit Details

This commit is contained in:
Kacper Dudzic 2022-05-05 21:40:29 +02:00
parent 509fd41c5f
commit 2ed534336b
1 changed files with 2 additions and 0 deletions

View File

@ -15,12 +15,14 @@ pipeline {
stage('Stage 1') {
steps {
sh 'chmod u+x ./simple_regression.py'
sh 'cat simple_regression.py''
echo 'Copying datasets from create-dataset...'
copyArtifacts filter: '*', projectName: 's449288-create-dataset'
echo 'Datasets copied'
echo 'Conducting simple regression model test'
sh 'python3 simple_regression.py $EPOCHS_NUM'
echo 'Model and predictions saved'
sh 'ls -lh'
sh 'head lego_reg_results.csv'
sh 'ls -lh lego_reg_model'
echo 'Archiving model...'