]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
try to get multiple repos for ceph-deploy-pull-requests 99/head
authorAlfredo Deza <adeza@redhat.com>
Sat, 11 Jul 2015 13:05:23 +0000 (09:05 -0400)
committerAlfredo Deza <adeza@redhat.com>
Sat, 11 Jul 2015 13:17:00 +0000 (09:17 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml

index ce42827d2cd360e2c4eaf03bd2e101e63f20eda3..002033d569314fdb29dfd121c786c48c827d1c81 100644 (file)
@@ -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
           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