diff --git a/Jenkinsfile b/Jenkinsfile index cf544e7..50d8c4b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,9 +37,9 @@ node { sh '''kaggle datasets download -d aleksandrglotov/car-prices-poland unzip -o car-prices-poland.zip wc -l Car_Prices_Poland_Kaggle.csv - head -n $(($CUTTOFF / 10)) Car_Prices_Poland_Kaggle.csv > cars_test.csv - head -n $(($CUTTOFF / 5)) Car_Prices_Poland_Kaggle.csv | tail $(($CUTTOFF / -10)) > cars_dev.csv - head -n $(($CUTTOFF) Car_Prices_Poland_Kaggle.csv | tail $(($CUTTOFF * (-4 / 5) )) > cars_train.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 + head -n $((CUTOFF)) Car_Prices_Poland_Kaggle.csv | tail $((23586 - CUTOFF)) > cars_train.csv'''} } stage('Save data into artifacts') { archiveArtifacts artifacts: '*.csv', followSymlinks: false