From 91588f08edb46a895f323d8f6470f878fc876d1b Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 14 Sep 2016 13:03:50 -0400 Subject: [PATCH] Help ensure that the cleanup stage for Jenkins pipeline is more flexible regarding user directory cleanup. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3eb29a1..fc9c6c2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ def performBuild(String project){ try { stage 'Cleanup & Setup' sh "rm -rf output-${project}-*" - sh "rm -rf \"/Users/levvel/VirtualBox VMs/${project}-appliance-*\"" + sh "rm -rf \"~/VirtualBox VMs/${project}-appliance-*\"" sh 'rm -rf builds' sh 'mkdir -p builds'