.
This commit is contained in:
parent
b302f94d53
commit
abb094b4aa
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -5,7 +5,7 @@ pipeline {
|
|||||||
string(
|
string(
|
||||||
defaultValue: 'maciejsobkowiak',
|
defaultValue: 'maciejsobkowiak',
|
||||||
description: 'Kaggle username',
|
description: 'Kaggle username',
|
||||||
name: 'KAGGLE_USERNAME',
|
name: 'username',
|
||||||
trim: false
|
trim: false
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -19,8 +19,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('sh: Shell Script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(['KAGGLE_USERNAME=${params.KAGGLE_USERNAME}',
|
withEnv(['KAGGLE_USERNAME=${params.username}',
|
||||||
'KAGGLE_KEY=${params.KAGGLE_KEY}' ]) {
|
'KAGGLE_KEY=${params.key}' ]) {
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'kaggle datasets download -d szamil/who-suicide-statistics'
|
sh 'kaggle datasets download -d szamil/who-suicide-statistics'
|
||||||
|
Loading…
Reference in New Issue
Block a user