This commit is contained in:
Maciej 2021-03-29 00:31:13 +02:00
parent 310a29e836
commit a5b866ec0d

7
Jenkinsfile vendored
View File

@ -21,10 +21,15 @@ pipeline {
steps {
// withEnv(['KAGGLE_USERNAME=$params.username',
// 'KAGGLE_KEY=$params.key' ]) {
sh "KAGGLE_USERNAME=${params.username} KAGGLE_KEY=${params.key} kaggle datasets download -d szamil/who-suicide-statistics"
// sh "KAGGLE_USERNAME=${params.username} KAGGLE_KEY=${params.key} kaggle datasets download -d szamil/who-suicide-statistics"
// sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
// sh 'kaggle datasets download -d szamil/who-suicide-statistics'
// }
withEnv(["KAGGLE_USERNAME=${params.username}",
"KAGGLE_KEY=${params.key}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
}
}
}
}