2022-04-24 16:04:46 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Stage 1') {
|
|
|
|
steps {
|
|
|
|
sh 'chmod u+x ./process_dataset.py'
|
|
|
|
echo 'Processing dataset...'
|
|
|
|
sh 'python3 process_dataset.py'
|
|
|
|
echo 'Dataset processed'
|
|
|
|
echo 'Archiving clean train and test datasets...'
|
|
|
|
archiveArtifacts artifacts: 'lego_sets_clean_train.csv, lego_sets_clean_test.csv'
|
|
|
|
echo 'Datasets archived'
|
2022-04-24 16:40:42 +02:00
|
|
|
echo 'Launching the s449288-training job...'
|
|
|
|
build job: 's449288-training/master/'
|
2022-04-24 16:04:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|