diff --git a/Jenkinsfile b/Jenkinsfile index 1373e13..6bfe077 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,19 +13,14 @@ pipeline{ script{ def img = docker.build('s434780/ium:1.0') img.inside{ - sh './script.sh' + sh ''' + chmod +x script.sh + ./script.sh''' } } } } - stage('sh: Shell Script'){ - steps{ - sh ''' - chmod +x script.sh - ./script.sh''' - } - } stage('Archive artifacts'){ steps{ archiveArtifacts 'test.csv'