From 57b41e7c5999739c9c878d08333e3fac4c70d568 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 16 Mar 2016 10:41:56 -0400 Subject: [PATCH] clone ceph-build as well so we can use a bit of ansible Signed-off-by: Alfredo Deza --- .../radosgw-agent-pull-requests.yml | 40 ++++++++++++++----- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/radosgw-agent-pull-requests/config/definitions/radosgw-agent-pull-requests.yml b/radosgw-agent-pull-requests/config/definitions/radosgw-agent-pull-requests.yml index e814fa13..1781e472 100644 --- a/radosgw-agent-pull-requests/config/definitions/radosgw-agent-pull-requests.yml +++ b/radosgw-agent-pull-requests/config/definitions/radosgw-agent-pull-requests.yml @@ -1,3 +1,32 @@ +# 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: radosgw-agent + scm: + - git: + url: https://github.com/ceph/radosgw-agent.git + branches: + - ${sha1} + refspec: +refs/pull/*:refs/remotes/origin/pr/* + browser: auto + timeout: 20 + skip-tag: true + wipe-workspace: false + basedir: "radosgw-agent" + +- 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: radosgw-agent-pull-requests node: trusty @@ -36,15 +65,8 @@ auto-close-on-fail: false scm: - - git: - url: https://github.com/ceph/radosgw-agent.git - branches: - - ${sha1} - refspec: +refs/pull/*:refs/remotes/origin/pr/* - browser: auto - timeout: 20 - skip-tag: true - wipe-workspace: false + - radosgw-agent + - ceph-build builders: - shell: -- 2.39.5