From da40e1a0e60c640ee02dfaa8778d475d5eca16f8 Mon Sep 17 00:00:00 2001 From: "sadurska@trui.pl" Date: Sun, 16 May 2021 21:38:05 +0200 Subject: [PATCH] Multipipeline #wip --- Jenkinsfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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'