From 52d61cf757903f2c793623ebd8bc4dd5e3f72801 Mon Sep 17 00:00:00 2001 From: Dawid Date: Sun, 28 Mar 2021 21:12:19 +0200 Subject: [PATCH] fix jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 81faa4d..81cdb92 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,12 @@ pipeline{ agent any parameters { - string(defaultValue: '5', description: 'Number of lines to cutoff', name: 'CUTOFF', trim: false) - } + string(defaultValue: '100', description: 'Number of lines to cutoff', name: 'CUTOFF', trim: false) +} stages{ stage('Stage 1'){ steps{ - echo 'Init Jenkins file!' + echo 'Hello World!' } } stage('checkout: Check out from version control'){ @@ -18,7 +18,7 @@ pipeline{ steps{ withEnv(["CUTOFF=${params.CUTOFF}"]) { sh "chmod 777 ./script.sh" - ./data.sh + sh "./data.sh" } }} stage('Archive artifacts'){