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

This commit is contained in:
Kacper Dudzic 2022-05-05 22:39:15 +02:00
parent 03061f60d0
commit 94c0a01b2b

View File

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