summaryrefslogtreecommitdiffstats
path: root/jjb/armband/armband-workspace-cleanup.sh
diff options
context:
space:
mode:
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