From 6eac8ab63374aec0ef3c32668f287d8233abb55e Mon Sep 17 00:00:00 2001 From: jannisp Date: Mon, 30 Aug 2021 13:46:35 +0200 Subject: [PATCH] Add clearing stage --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4dd844a..6d1d21b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,8 @@ node { + stage('Empty workspace') { + sh 'rm -rd *' + } + stage('Pull git') { checkout scm }