diff --git a/Data_download.ipynb b/Data_download.ipynb index 8bcaafe..2435f4e 100644 --- a/Data_download.ipynb +++ b/Data_download.ipynb @@ -95,7 +95,7 @@ "outputs": [], "source": [ "kaggle.api.authenticate()\n", - "kaggle.api.dataset_download_files('iabhishekofficial/mobile-price-classification', path='./', unzip=True)" + "kaggle.api.dataset_download_files('iabhishekofficial/mobile-price-classification', path='.', unzip=True)" ] }, { diff --git a/Jenkinsfile b/Jenkinsfile index 57f2d3d..9023f12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,8 @@ pipeline { steps { withEnv(["KAGGLE_USERNAME=${KAGGLE_USERNAME}", "KAGGLE_KEY=${KAGGLE_KEY}" ]) { - sh 'jupyter execute Data_download.ipynb' + sh 'jupyter nbconvert --to python Data_download.ipynb' + sh 'python3 Data_download.py' archiveArtifacts artifacts: 'test.csv,train.csv', followSymlinks: false } }