summaryrefslogtreecommitdiffstats
path: root/jjb/armband/armband-workspace-cleanup.sh
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2016-10-31 14:32:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-31 14:32:40 +0000
commit5559f4d344bfe26b39a01f76954ce864c589eae3 (patch)
treed5539591e96d3da01dc0e88b28608c86087d1a3d /jjb/armband/armband-workspace-cleanup.sh
parentb20e6f4e2e172ea33c6417733e79f8b4678be263 (diff)
parent7d1d2d530f5078a5797d2fc39feec7cfbf03b51c (diff)
Merge "Add verify jobs for Armband"
Diffstat (limited to 'jjb/armband/armband-workspace-cleanup.sh')
-rw-r--r--jjb/armband/armband-workspace-cleanup.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/jjb/armband/armband-workspace-cleanup.sh b/jjb/armband/armband-workspace-cleanup.sh
new file mode 100644
index 000000000..d8948c7a0
--- /dev/null
+++ b/jjb/armband/armband-workspace-cleanup.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Ericsson AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+set -o errexit
+set -o nounset
+set -o pipefail
+
+# delete the $WORKSPACE to open some space
+/bin/rm -rf $WORKSPACE