aboutsummaryrefslogtreecommitdiff
path: root/lava-tool.yaml
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2018-01-10 09:16:48 +0000
committerNeil Williams <neil.williams@linaro.org>2018-01-10 13:03:56 +0000
commit56bbccd007e9c6c5e0cbc4babe481058cb0ef741 (patch)
tree4552b2e865dc6d5a70617ad77b82fa02625779ed /lava-tool.yaml
parenteb405c909b2fa8c00e723a6ebccab57ce1f060f8 (diff)
downloadconfigs-56bbccd007e9c6c5e0cbc4babe481058cb0ef741.tar.gz
Update other lava-bot tasks from changes in lava-server
Change-Id: I9506ba97095eb25b77d2a19c3781b4ef65708889
Diffstat (limited to 'lava-tool.yaml')
-rw-r--r--lava-tool.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/lava-tool.yaml b/lava-tool.yaml
index 3811df656..2a1c05a26 100644
--- a/lava-tool.yaml
+++ b/lava-tool.yaml
@@ -42,12 +42,16 @@
- shell: |
#!/bin/bash
- rm -rf ${WORKSPACE}/*
+ set -x
+ cd /
+ rm -rf ${WORKSPACE}
+ mkdir -p ${WORKSPACE}
+ cd ${WORKSPACE}
+ git clone -b ${GERRIT_BRANCH} https://git.linaro.org/${GERRIT_PROJECT} lava-checkout
+ cd lava-checkout
echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
-
- git clone -b ${GERRIT_BRANCH} --depth 1 https://git.linaro.org/${GERRIT_PROJECT}
- cd *
git fetch https://review.linaro.org/${GERRIT_PROJECT} ${GERRIT_REFSPEC}
+ set +x
git checkout -q FETCH_HEAD
git log -n3
find . -name '*.pyc' -delete