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