From f24991317af5a24972d7e9ed171594171d698a60 Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 18:31:49 +0100 Subject: [PATCH] fix3 --- Jenkinsfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e39ef09..3e7fd55 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any stages { stage('Preparation') { - properties([ + steps { parameters([ string( defaultValue: 'mikolaj2', @@ -21,12 +21,13 @@ pipeline { name: 'CUTOFF' ) ]) - ]) - environment { - KAGGLE_USERNAME="$params.KAGGLE_USERNAME" - KAGGLE_KEY="$params.KAGGLE_KEY" - CUTOFF="$params.CUTOFF" + environment { + KAGGLE_USERNAME="$params.KAGGLE_USERNAME" + KAGGLE_KEY="$params.KAGGLE_KEY" + CUTOFF="$params.CUTOFF" + } } + } stage("Check out from version control") { steps {