aboutsummaryrefslogtreecommitdiff
path: root/coresight.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-04-10 08:40:59 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2015-04-10 08:40:59 +0300
commit103054dc99388905dd2bb74bf00531591565bcd1 (patch)
tree520800747ed60b7cae9a9af380d2ae2b754350dd /coresight.yaml
parentf7f504de65076f1b2abdff2f22c9c3d43dfcccc0 (diff)
coresight: clean up the workspace
Change-Id: I46b6fb9fc8dc32c43085758a106bbe1e1ee1aed4 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'coresight.yaml')
-rw-r--r--coresight.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/coresight.yaml b/coresight.yaml
index b689adb53d..9836883860 100644
--- a/coresight.yaml
+++ b/coresight.yaml
@@ -65,13 +65,18 @@
- shell: |
#!/bin/bash
+ set -ex
+
trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
cd ${WORKSPACE}
+ rm -rf lci-build-tools
rm -rf builddir*
rm -rf out
+ git clean -fdx
+ git reset --hard
}
export LANG=C
@@ -140,11 +145,10 @@
- inject:
properties-file: post_build_lava_parameters
- shell: |
+ rm -rf configs lci-build-tools
+ git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
./lci-build-tools/yaml-to-json.py configs/coresight/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
-
- rm -rf lci-build-tools
- rm -rf configs
- trigger-builds:
- project: 'post-build-lava'
property-file: post_build_lava_parameters