diff --git a/Jenkinsfile b/Jenkinsfile index bf49663..ef3df31 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { stage('Run create-dataset script') { steps { sh 'chmod +x create-dataset.py' - sh 'python3 ./create-dataset.py $KAGGLE_USERNAME $KAGGLE_KEY' + sh 'python3 ./create-dataset.py' } } stage('Archive Artifacts') { diff --git a/create-dataset.py b/create-dataset.py index 2021e72..fd8b376 100644 --- a/create-dataset.py +++ b/create-dataset.py @@ -11,6 +11,7 @@ from sklearn.model_selection import train_test_split def download_kaggle_dataset(): print(os.environ.get("KAGGLE_USERNAME")) + print(os.environ.get("KAGGLE_KEY")) kaggle = KaggleApi() kaggle.authenticate() kaggle.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)