diff --git a/Jenkinsfile b/Jenkinsfile index 15807bd..28af142 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,6 +20,8 @@ pipeline { stages { stage('Stage 1') { steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { sh 'chmod u+x ./download_dataset.sh ./process_dataset.py' echo 'Downloading dataset...' sh './download_dataset.sh' @@ -27,6 +29,7 @@ pipeline { echo 'Processing dataset...' sh 'python3 process_dataset.py' echo 'Dataset processed' + } } } }