From 138ee4c8c32a6d0b6ae1197f8ca2e09d916dce53 Mon Sep 17 00:00:00 2001 From: Wojciech Lidwin Date: Sun, 26 Mar 2023 20:42:32 +0200 Subject: [PATCH] Test --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0262f68..c656fb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,13 @@ node { sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'chmod u+x ./download_dataset.sh' sh './download_dataset.sh' - archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv' + sh '''kaggle datasets download -d sohier/crime-in-baltimore +unzip crime-in-baltimore.zip + +head -n 8000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_train.csv +tail -n 2000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_test.csv +head -n 2000 baltimore_train.csv > baltimore_dev.csv''' + archiveArtifacts artifacts: 'BPD_Part_1_Victim_Based_Crime_Data.csv,baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv' } } } \ No newline at end of file