diff options
author | Benjamin Copeland <ben.copeland@linaro.org> | 2019-02-27 10:26:35 +0000 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2019-03-12 13:56:28 +0000 |
commit | 0c99c9696c445bee88a5a19ddcbb02b50bd3faea (patch) | |
tree | 2a9a80e5bd3bdff13811f94c65e0cc35f2888a59 /ci-job-configs-sanity-check.yaml | |
parent | da685d45646d29dc7568ce46d1cd4e0f8ba8414b (diff) |
configs: Update job to use GIT SCM
Change-Id: I1466758c63f14bcdcb70bccf93d4b541d502873e
Diffstat (limited to 'ci-job-configs-sanity-check.yaml')
-rw-r--r-- | ci-job-configs-sanity-check.yaml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/ci-job-configs-sanity-check.yaml b/ci-job-configs-sanity-check.yaml index 76e79c73eb..7974f81fce 100644 --- a/ci-job-configs-sanity-check.yaml +++ b/ci-job-configs-sanity-check.yaml @@ -13,6 +13,17 @@ disabled: false node: master display-name: 'CI job configs sanity check' + scm: + - git: + url: https://review.linaro.org/${GERRIT_PROJECT} + refspec: ${GERRIT_REFSPEC} + branches: + - ${GERRIT_BRANCH} + skip-tag: true + clean: + before: true + choosing-strategy: gerrit + basedir: configs triggers: - gerrit: server-name: 'review.linaro.org' @@ -44,12 +55,7 @@ env |grep '^GERRIT' echo "########################################################################" - rm -rf ${WORKSPACE}/* - - 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 + cd configs/ # FIXME run-jjb.py was meant to be used for deployment only # use JJB 'test' command instead of 'update' command |