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 {