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' } } }