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:56:28 +02:00
parent f3f9e656e4
commit 16b81df797

View File

@ -4,13 +4,6 @@ pipeline {
dir 'lab7'
}
}
parameters {
string(
defaultValue: '100',
description: 'Example training parameter',
name: 'EPOCHS_NUM'
)
}
stages {
stage('Stage 1') {
steps {
@ -19,7 +12,7 @@ pipeline {
copyArtifacts filter: '*', projectName: 's449288-create-dataset'
echo 'Datasets copied'
echo 'Conducting simple regression model test'
sh 'python3 simple_regression_lab7.py $EPOCHS_NUM'
sh 'python3 simple_regression_lab7.py'
echo 'Model and predictions saved'
sh 'ls -lh'
sh 'head lego_reg_results.csv'