From e9abb62731d40a8c85cf120ed3873780bf0df370 Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 18:48:04 +0100 Subject: [PATCH] fix 7 --- Jenkinsfile | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2db85df..3dc101e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,22 +1,24 @@ pipeline { agent any - parameters { - string( - defaultValue: 'mikolaj2', - 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' - ) - string( - defaultValue: '', - description: 'Value for head command', - name: 'CUTOFF' - ) + properties { + parameters { + string( + defaultValue: 'mikolaj2', + 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' + ) + string( + defaultValue: '', + description: 'Value for head command', + name: 'CUTOFF' + ) + } } environment { KAGGLE_USERNAME="$params.KAGGLE_USERNAME"