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'){