This commit is contained in:
Maciej 2021-03-29 00:25:56 +02:00
parent 214c555f99
commit 192a5db04b

10
Jenkinsfile vendored
View File

@ -19,11 +19,11 @@ pipeline {
}
stage('sh: Shell Script') {
steps {
withEnv(['KAGGLE_USERNAME=$params.username',
'KAGGLE_KEY=$params.key' ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
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 "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'
}
}
}