From 90a8df794803c107298aa99b8740a654b43bdbab Mon Sep 17 00:00:00 2001 From: Wojciech Lidwin Date: Tue, 4 Apr 2023 15:27:09 +0200 Subject: [PATCH] Test --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 32341d0..ee7e80b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,10 @@ node { "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { 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 "unzip crime-in-baltimore.zip" sh 'python3 data.py'