From d7624aa1696727398f15b474dee489be8afad015 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 6 Jan 2016 16:14:35 -0500 Subject: [PATCH] reconfigure job to clone ceph-build to run unit tests Signed-off-by: Alfredo Deza --- .../config/definitions/ceph-pr-commits.yml | 42 ++++++++++++++----- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/ceph-pr-commits/config/definitions/ceph-pr-commits.yml b/ceph-pr-commits/config/definitions/ceph-pr-commits.yml index 401bd54b..be940871 100644 --- a/ceph-pr-commits/config/definitions/ceph-pr-commits.yml +++ b/ceph-pr-commits/config/definitions/ceph-pr-commits.yml @@ -1,3 +1,29 @@ +- scm: + name: ceph + scm: + - git: + url: https://github.com/ceph/ceph.git + branches: + - ${sha1} + refspec: +refs/pull/*:refs/remotes/origin/pr/* + browser: auto + timeout: 20 + skip-tag: true + wipe-workspace: false + basedir: "ceph" + +- scm: + name: ceph-build + scm: + - git: + url: https://github.com/ceph/ceph-build.git + browser-url: https://github.com/ceph/ceph-build + timeout: 20 + skip-tag: true + wipe-workspace: false + basedir: "ceph-build" + + - job: name: ceph-pr-commits project-type: freestyle @@ -37,19 +63,15 @@ failure-status: "one or more commits in this PR are not signed" scm: - - git: - url: https://github.com/ceph/ceph.git - branches: - - ${sha1} - refspec: +refs/pull/*:refs/remotes/origin/pr/* - browser: auto - timeout: 20 - skip-tag: true - wipe-workspace: true + - ceph + - ceph-build + builders: - shell: - !include-raw ../../build/build + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build publishers: - junit: -- 2.39.5