Change CUTOFF parameter definition

This commit is contained in:
Wojciech Jarmosz 2021-03-28 18:35:27 +02:00
parent a8f93394ce
commit 24d68a036e

2
Jenkinsfile vendored
View File

@ -2,8 +2,8 @@ pipeline {
agent any
stages {
stage('Clone repo + run bash script') {
properties([parameters([string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)])])
steps {
properties([parameters([string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)])])
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
// Uruchomienie skryptu