This commit is contained in:
Maciej 2021-03-28 23:49:30 +02:00
parent 581efdf7d5
commit cd5825ac0d

11
Jenkinsfile vendored
View File

@ -8,11 +8,11 @@ pipeline {
name: 'KAGGLE_USERNAME',
trim: false
)
password(
defaultValue: '',
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY'
)
// password(
// defaultValue: '',
// description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
// name: 'KAGGLE_KEY'
// )
}
stages {
@ -27,7 +27,6 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'echo KAGGLE_USERNAME: $KAGGLE_KEY'
sh 'kaggle datasets download -d szamil/who-suicide-statistics'
}
}