diff options
author | Ben Copeland <ben.copeland@linaro.org> | 2017-01-04 12:23:45 +0000 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-01-11 10:54:07 +0000 |
commit | 302ae908fd8669c1f1b0a7e41ab6b5eef2d3d2fa (patch) | |
tree | baa90941d6d0b807b3933ad670ef346c2f912174 /ci-job-configs-sanity-check.yaml | |
parent | 4ab53f784b0b112908af6c6fd796d632de40baa4 (diff) |
ci-job-configs: increase shallow clone depth to 2
Since latest gerrit update from 2.12 to 2.13, rev-parse isn't able
to get last commit due to using depth 1.
Increasing the depth to 2 allows rev-parse to work again.
Change-Id: Iff0523b05298fb5672b1ad64d34ee3beacd9d8a6
Diffstat (limited to 'ci-job-configs-sanity-check.yaml')
-rw-r--r-- | ci-job-configs-sanity-check.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-job-configs-sanity-check.yaml b/ci-job-configs-sanity-check.yaml index cb31fe8adc..8260fd3c1b 100644 --- a/ci-job-configs-sanity-check.yaml +++ b/ci-job-configs-sanity-check.yaml @@ -46,7 +46,7 @@ rm -rf ${WORKSPACE}/* - git clone -b ${GERRIT_BRANCH} --depth 1 https://review.linaro.org/${GERRIT_PROJECT} + git clone -b ${GERRIT_BRANCH} --depth 2 https://review.linaro.org/${GERRIT_PROJECT} cd * git fetch https://review.linaro.org/${GERRIT_PROJECT} ${GERRIT_REFSPEC} git checkout -q FETCH_HEAD |