This commit is contained in:
Wojciech Lidwin 2023-04-04 16:15:30 +02:00
parent 4938f8d664
commit 0f8c193443

4
Jenkinsfile vendored
View File

@ -34,8 +34,8 @@ node {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}", "KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}" ]) { "CUTOFF=${params.CUTOFF}" ]) {
sh "export $KAGGLE_KEY" sh "export KAGGLE_KEY=$KAGGLE_USERNAME"
sh '''kaggle datasets list''' sh "export KAGGLE_KEY=$KAGGLE_KEY"
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME''' sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
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"