From: Alfredo Deza Date: Sat, 11 Jul 2015 13:05:23 +0000 (-0400) Subject: try to get multiple repos for ceph-deploy-pull-requests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F99%2Fhead;p=ceph-build.git try to get multiple repos for ceph-deploy-pull-requests Signed-off-by: Alfredo Deza --- diff --git a/ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml b/ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml index ce42827d..002033d5 100644 --- a/ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml +++ b/ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml @@ -1,3 +1,30 @@ +# multiple scm requires definition of each scm with `name` so that they can be +# referenced later in `job` +# reference: http://docs.openstack.org/infra/jenkins-job-builder/scm.html +- scm: + name: ceph-deploy + scm: + - git: + url: https://github.com/ceph/ceph-deploy.git + branches: + - ${sha1} + refspec: +refs/pull/*:refs/remotes/origin/pr/* + browser: githubweb + browser-url: https://github.com/ceph/ceph-deploy + timeout: 20 + skip-tag: true + wipe-workspace: false + +- 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: true + - job: name: ceph-deploy-pull-requests node: trusty @@ -42,16 +69,8 @@ auto-close-on-fail: false scm: - - git: - url: https://github.com/ceph/ceph-deploy.git - branches: - - ${sha1} - refspec: +refs/pull/*:refs/remotes/origin/pr/* - browser: githubweb - browser-url: https://github.com/ceph/ceph-deploy - timeout: 20 - skip-tag: true - wipe-workspace: false + - ceph-deploy + - ceph-build builders: - shell: !include-raw ../../build/setup