.
This commit is contained in:
parent
310a29e836
commit
a5b866ec0d
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user