From a0a188c4e92c465765bb56348e92d788299ed19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudziak?= Date: Thu, 23 Mar 2023 12:37:15 +0100 Subject: [PATCH] update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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