diff --git a/Jenkinsfile b/Jenkinsfile index d45afe0..7ab8ceb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,13 @@ pipeline{ - agent { - dockerfile true - } + agent any parameters { string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false) } stages{ stage('Test') { + agent { + dockerfile true + } steps { sh 'python3 ./script2.py' }