ium_s449288/lab6/Jenkinsfile_dataset_for_LAB6

24 lines
656 B
Plaintext
Raw Normal View History

2022-04-24 16:04:46 +02:00
pipeline {
agent {
dockerfile {
dir 'lab6'
}
2022-04-24 16:04:46 +02:00
}
stages {
stage('Stage 1') {
steps {
2022-05-12 22:57:13 +02:00
sh 'cd lab6/'
sh 'chmod u+x ./process_dataset.py'
2022-04-24 16:04:46 +02:00
echo 'Processing dataset...'
2022-05-12 22:57:13 +02:00
sh 'python3 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:57:13 +02:00
archiveArtifacts artifacts: 'lego_sets_clean_train.csv, 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
}