From b2e5aaf6924ac547f8a2abdaeae7497ec1c96412 Mon Sep 17 00:00:00 2001 From: "sadurska@trui.pl" Date: Tue, 20 Apr 2021 21:25:16 +0200 Subject: [PATCH] tweaks(ium_04) Update Jenkinsfile and add Jenkinsfile-stats. --- Jenkinsfile | 4 +++- Jenkinsfile-stats | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3733864..0eb39ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,9 @@ pipeline{ } stage('sh: Shell Script'){ steps{ - sh './script.sh' + sh ''' + chmod +x script.sh + ./script.sh''' } } stage('Archive artifacts'){ diff --git a/Jenkinsfile-stats b/Jenkinsfile-stats index 306304b..d8e5355 100644 --- a/Jenkinsfile-stats +++ b/Jenkinsfile-stats @@ -13,7 +13,9 @@ pipeline{ } stage('sh: Shell Script'){ steps{ - sh './stats.sh' + sh ''' + chmod +x script.sh + ./stats.sh''' } } stage('Archive artifacts'){