From 219984de924a75a1514f7b5683a62316a082b5db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zar=C4=99ba?= Date: Thu, 8 Apr 2021 22:42:41 +0200 Subject: [PATCH] Zaktualizuj 'Jenkinsfile' --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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' }