diff --git a/Jenkinsfile b/Jenkinsfile index 10454aa..7f54111 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,6 +9,10 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "SUCCESS" try { + stage 'Cleanup' + sh 'rm -rf output-*' + sh 'rm -rf /home/centos/VirtualBox\ VMs/shibboleth-appliance-centos7-*/' + stage 'Checkout' checkout scm @@ -45,6 +49,10 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "SUCCESS" try { + stage 'Cleanup' + sh 'rm -rf output-*' + sh 'rm -rf /home/centos/VirtualBox\ VMs/shibboleth-appliance-centos7-*/' + stage 'Checkout' checkout scm