ium_s449288/Jenkinsfile

19 lines
529 B
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Stage 1') {
steps {
sh 'chmod u+x ./process_dataset.py ./simple_regression.py'
echo 'Processing dataset...'
sh 'python3 process_dataset.py'
echo 'Dataset processed'
echo 'Conducting simple regression model test'
sh 'python3 simple_regression.py'
echo 'Model predictions saved'
sh 'head lego_linreg_results.csv'
}
}
}
}