ium_s449288/lab5/Jenkinsfile1

20 lines
525 B
Plaintext
Raw Normal View History

2022-04-02 17:43:52 +02:00
pipeline {
agent {
2022-04-08 18:17:16 +02:00
docker { image 's449288/ium:2.1' }
2022-04-02 17:43:52 +02:00
}
stages {
stage('Stage 1') {
steps {
2022-05-12 22:57:13 +02:00
sh 'cd lab5/'
2022-05-12 23:17:24 +02:00
sh 'chmod u+x process_dataset.py simple_regression.py'
2022-04-02 17:43:52 +02:00
echo 'Processing dataset...'
2022-05-12 22:57:13 +02:00
sh 'python3 process_dataset.py'
2022-04-02 17:43:52 +02:00
echo 'Dataset processed'
2022-04-08 18:16:40 +02:00
echo 'Conducting simple regression model test'
2022-05-12 22:57:13 +02:00
sh 'python3 simple_regression.py'
2022-04-08 18:16:40 +02:00
echo 'Model predictions saved'
2022-04-02 17:43:52 +02:00
}
}
}
}