Update 'lab6/Jenkinsfile'
All checks were successful
s449288-training/pipeline/head This commit looks good
All checks were successful
s449288-training/pipeline/head This commit looks good
This commit is contained in:
parent
b0e1ecd6a8
commit
4664e19d2e
9
lab6/Jenkinsfile
vendored
9
lab6/Jenkinsfile
vendored
@ -2,6 +2,13 @@ pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: '100',
|
||||
description: 'Example training parameter',
|
||||
name: 'EPOCHS_NUM'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
@ -10,7 +17,7 @@ pipeline {
|
||||
copyArtifacts filter: '*', projectName: 's449288-create-dataset'
|
||||
echo 'Datasets copied'
|
||||
echo 'Conducting simple regression model test'
|
||||
sh 'python3 simple_regression.py'
|
||||
sh 'python3 simple_regression.py $EPOCHS_NUM'
|
||||
echo 'Model and predictions saved'
|
||||
sh 'head lego_reg_results.csv'
|
||||
sh 'ls -lh lego_reg_model'
|
||||
|
Loading…
Reference in New Issue
Block a user