ium_s449288/lab6/Jenkinsfile_dataset_for_LAB6

26 lines
721 B
Plaintext

pipeline {
agent {
dockerfile {
dir 'lab6'
}
}
stages {
stage('Stage 1') {
steps {
sh 'ls -lh'
sh 'ls -lh */'
sh 'cd lab6/'
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'
echo 'Launching the s449288-training job...'
build job: 's449288-training/master/'
}
}
}
}