From 2077b735bb9e9184081e2300e335c55f9aaf75d5 Mon Sep 17 00:00:00 2001 From: Wojciech Lidwin Date: Sun, 26 Mar 2023 19:16:20 +0200 Subject: [PATCH] Test --- Jenkinsfile | 1 + download_dataset.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0228164..9836a93 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,7 @@ node { "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' + sh 'ls' sh 'chmod a+rx ./download_dataset.sh' archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv' } diff --git a/download_dataset.sh b/download_dataset.sh index a653825..f9e0abb 100644 --- a/download_dataset.sh +++ b/download_dataset.sh @@ -2,6 +2,6 @@ kaggle datasets download -d sohier/crime-in-baltimore unzip crime-in-baltimore.zip -head -n 10000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_train.csv +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