From f380afc84075a4f9605379ae76a9f0ef3d5d99e0 Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 19:07:58 +0100 Subject: [PATCH] fix 13 --- Jenkinsfile | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f33b5ac..9b327a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,23 +1,21 @@ pipeline { agent any - options { - parameters{ - 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: 'mikolaj2', - description: 'Kaggle username', - name: 'KAGGLE_USERNAME' - ) - string( - defaultValue: '', - description: 'Value for head command', - name: 'CUTOFF' - ) - } + parameters{ + 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: 'mikolaj2', + description: 'Kaggle username', + name: 'KAGGLE_USERNAME' + ) + string( + defaultValue: '', + description: 'Value for head command', + name: 'CUTOFF' + ) } environment { KAGGLE_USERNAME="$params.KAGGLE_USERNAME"