Test
This commit is contained in:
parent
1aa96f1654
commit
90a8df7948
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -37,7 +37,10 @@ node {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
"CUTOFF=${params.CUTOFF}" ]) {
|
"CUTOFF=${params.CUTOFF}" ]) {
|
||||||
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
|
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
|
||||||
sh './download_dataset.sh'
|
sh 'echo {\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}>>kaggle.json'
|
||||||
|
sh 'cat kaggle.json'
|
||||||
|
sh 'mkdir ~/.kaggle'
|
||||||
|
sh 'mv kaggle.json ~/.kaggle'
|
||||||
sh "kaggle datasets download -d sohier/crime-in-baltimore"
|
sh "kaggle datasets download -d sohier/crime-in-baltimore"
|
||||||
sh "unzip crime-in-baltimore.zip"
|
sh "unzip crime-in-baltimore.zip"
|
||||||
sh 'python3 data.py'
|
sh 'python3 data.py'
|
||||||
|
Loading…
Reference in New Issue
Block a user