aboutsummaryrefslogtreecommitdiff
path: root/ci-job-configs-sanity-check.yaml
diff options
context:
space:
mode:
authorBenjamin Copeland <ben.copeland@linaro.org>2019-02-27 10:26:35 +0000
committerFathi Boudra <fathi.boudra@linaro.org>2019-03-12 13:56:28 +0000
commit0c99c9696c445bee88a5a19ddcbb02b50bd3faea (patch)
tree2a9a80e5bd3bdff13811f94c65e0cc35f2888a59 /ci-job-configs-sanity-check.yaml
parentda685d45646d29dc7568ce46d1cd4e0f8ba8414b (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.yaml18
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