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