.
This commit is contained in:
parent
b302f94d53
commit
abb094b4aa
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -5,7 +5,7 @@ pipeline {
|
||||
string(
|
||||
defaultValue: 'maciejsobkowiak',
|
||||
description: 'Kaggle username',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
name: 'username',
|
||||
trim: false
|
||||
)
|
||||
}
|
||||
@ -19,8 +19,8 @@ pipeline {
|
||||
}
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
withEnv(['KAGGLE_USERNAME=${params.KAGGLE_USERNAME}',
|
||||
'KAGGLE_KEY=${params.KAGGLE_KEY}' ]) {
|
||||
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'
|
||||
|
Loading…
Reference in New Issue
Block a user