Update 'Jenkinsfile'

This commit is contained in:
Kacper Dudzic 2022-04-02 16:02:15 +02:00
parent a2d5b214a7
commit d45c1c00b0

3
Jenkinsfile vendored
View File

@ -20,6 +20,8 @@ pipeline {
stages { stages {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod u+x ./download_dataset.sh ./process_dataset.py' sh 'chmod u+x ./download_dataset.sh ./process_dataset.py'
echo 'Downloading dataset...' echo 'Downloading dataset...'
sh './download_dataset.sh' sh './download_dataset.sh'
@ -31,3 +33,4 @@ pipeline {
} }
} }
} }
}