Test
This commit is contained in:
parent
7285a2b9f9
commit
f0f2101eeb
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -27,6 +27,12 @@ node {
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'chmod u+x ./download_dataset.sh'
|
||||
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: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
echo "Mes"
|
||||
kaggle datasets download -d sohier/crime-in-baltimore
|
||||
unzip crime-in-baltimore.zip
|
||||
less BPD_Part_1_Victim_Based_Crime_Data.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
|
||||
|
Loading…
Reference in New Issue
Block a user