This commit is contained in:
Wojciech Lidwin 2023-03-26 20:42:32 +02:00
parent 08dec6dfd5
commit 138ee4c8c3

8
Jenkinsfile vendored
View File

@ -34,7 +34,13 @@ node {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod u+x ./download_dataset.sh' sh 'chmod u+x ./download_dataset.sh'
sh './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'
} }
} }
} }