From 488e34fee9cc9c9bbe318dd179519cdfa5e3da3f Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 14 Sep 2016 16:19:14 -0400 Subject: [PATCH] Utilize remove scripts for jenkins pipeline cleanup. --- Jenkinsfile | 2 +- bin/remove-comanage.sh | 4 ++++ bin/remove-grouper.sh | 4 ++++ bin/remove-shibboleth.sh | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 bin/remove-comanage.sh create mode 100644 bin/remove-grouper.sh create mode 100644 bin/remove-shibboleth.sh diff --git a/Jenkinsfile b/Jenkinsfile index 551944c..9cbcfff 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-centos7-xfs'" + sh "bin/remove-${project}.sh" sh 'rm -rf builds' sh 'mkdir -p builds' diff --git a/bin/remove-comanage.sh b/bin/remove-comanage.sh new file mode 100644 index 0000000..bb2f800 --- /dev/null +++ b/bin/remove-comanage.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +rm -rf /Users/levvel/VirtualBox\ VMs/comanage-appliance-centos7-xfs/ +rm -rf /home/centos/VirtualBox\ VMs/comanage-appliance-centos7-xfs/ diff --git a/bin/remove-grouper.sh b/bin/remove-grouper.sh new file mode 100644 index 0000000..7216b65 --- /dev/null +++ b/bin/remove-grouper.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +rm -rf /Users/levvel/VirtualBox\ VMs/grouper-appliance-centos7-xfs/ +rm -rf /home/centos/VirtualBox\ VMs/grouper-appliance-centos7-xfs/ diff --git a/bin/remove-shibboleth.sh b/bin/remove-shibboleth.sh new file mode 100644 index 0000000..1b658f8 --- /dev/null +++ b/bin/remove-shibboleth.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +rm -rf /Users/levvel/VirtualBox\ VMs/shibboleth-appliance-centos7-xfs/ +rm -rf /home/centos/VirtualBox\ VMs/shibboleth-appliance-centos7-xfs/