change cut to cutoff

This commit is contained in:
Dawid 2021-03-28 20:38:55 +02:00
parent 3397cd0901
commit ca841de0f1

4
Jenkinsfile vendored
View File

@ -10,7 +10,7 @@ pipeline {
} }
pipeline{ pipeline{
agent any agent any
properties([parameters([text(defaultValue: '100', description: 'Number of lines to cutoff', name: 'CUT')])]) properties([parameters([text(defaultValue: '100', description: 'Number of lines to cutoff', name: 'CUTOFF')])])
stages{ stages{
stage('Stage 1'){ stage('Stage 1'){
steps{ steps{
@ -24,7 +24,7 @@ pipeline{
} }
stage('sh: Shell Script'){ stage('sh: Shell Script'){
steps{ steps{
withEnv(["CUTOFF=${params.CUT}"]) withEnv(["CUTOFF=${params.CUTOFF}"])
./data.sh ./data.sh
} }
} }