Try cleaning

This commit is contained in:
Filip Gralinski 2021-11-29 11:28:08 +01:00
parent d6e8852e03
commit 60c17d2d54
1 changed files with 2 additions and 3 deletions

5
Jenkinsfile vendored
View File

@ -6,10 +6,9 @@ pipeline {
script { script {
def customImage = docker.build("paper-cutter:${env.BUILD_ID}") def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
customImage.inside() { customImage.inside() {
cleanWs()
dir('test') { dir('test') {
sh 'git clone https://git.wmi.amu.edu.pl/filipg/paper-cutter.git' sh 'bash run_tests.sh'
sh 'ls -l paper-cutter'
sh 'bash run_tests.sh'
} }
} }
} }