diff --git a/Jenkinsfile b/Jenkinsfile index 51207d2..abff78e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ pipeline{ agent any - properties([parameters([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])]) + properties([options([text(defaultValue: '50', description: 'Number of lines to cutoff', name: 'CUTOFF')])]) stages{ stage('checkout: Check out from version control'){ steps{ @@ -9,7 +9,7 @@ pipeline{ } stage('sh: Shell Script'){ steps{ - script.sh + ./script.sh } } stage('Archive artifacts'){