From 60c17d2d542985896940816539bd451c3440080c Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 29 Nov 2021 11:28:08 +0100 Subject: [PATCH] Try cleaning --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d3a7128..264bc3d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,10 +6,9 @@ pipeline { script { def customImage = docker.build("paper-cutter:${env.BUILD_ID}") customImage.inside() { + cleanWs() dir('test') { - sh 'git clone https://git.wmi.amu.edu.pl/filipg/paper-cutter.git' - sh 'ls -l paper-cutter' - sh 'bash run_tests.sh' + sh 'bash run_tests.sh' } } }