From 63dbafba8a32f53bc3f516c385e05133ffd50569 Mon Sep 17 00:00:00 2001 From: Maciej Date: Sun, 28 Mar 2021 23:06:58 +0200 Subject: [PATCH] KAGGLE KEY --- Jenkinsfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index c3c19c4..2d76055 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,22 @@ pipeline { agent any + stage('Preparation') { + properties([ + parameters([ + string( + defaultValue: 'maciejsobkowiak, + description: 'Kaggle username', + 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' + ) + ]) + ]) + } stages { stage('checkout: Check out from version control') { steps {