From 38b7f57499bacb430e8954c89f1e19070f27a322 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 31 Aug 2016 14:30:27 -0400 Subject: [PATCH] Setup the path for jenkins pipeline. --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fe15430..baac0af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,9 +10,10 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "SUCCESS" try { - stage 'Cleanup' + stage 'Cleanup, Setup Path' sh 'rm -rf output-*' sh 'rm -rf "/Users/levvel/VirtualBox VMs/"' + sh 'source /etc/profile' stage 'Checkout' @@ -49,9 +50,10 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "SUCCESS" try { - stage 'Cleanup' + stage 'Cleanup, Setup Path' sh 'rm -rf output-*' sh 'rm -rf "/Users/levvel/VirtualBox VMs"' + sh 'source /etc/profile' stage 'Checkout'