fix jenkinsfile

This commit is contained in:
Michał Dudziak 2023-03-23 11:58:40 +01:00
parent d38e5f5fb4
commit 95b04e5e59

7
Jenkinsfile vendored
View File

@ -28,7 +28,12 @@ node {
checkout scmGit(branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452662/ium_452662']])
}
stage('Cut data') {
sh '''kaggle datasets download -d aleksandrglotov/car-prices-poland unzip -o car-prices-poland.zip wc -l Car_Prices_Poland_Kaggle.csv head -n 11793 Car_Prices_Poland_Kaggle.csv > cars_test.csv head -n 23586 Car_Prices_Poland_Kaggle.csv | tail -11793 > cars_dev.csv tail -n 1037740 Car_Prices_Poland_Kaggle.csv > cars_train.csv'''
sh '''kaggle datasets download -d aleksandrglotov/car-prices-poland
unzip -o car-prices-poland.zip
wc -l Car_Prices_Poland_Kaggle.csv
head -n 11793 Car_Prices_Poland_Kaggle.csv > cars_test.csv
head -n 23586 Car_Prices_Poland_Kaggle.csv | tail -11793 > cars_dev.csv
tail -n 1037740 Car_Prices_Poland_Kaggle.csv > cars_train.csv'''
}
stage('Save data into artifacts') {
archiveArtifacts artifacts: '*.csv', followSymlinks: false