[compass] bugfix: wrong scm 87/8287/2
authormeimei <meimei@huawei.com>
Thu, 28 Jan 2016 10:30:30 +0000 (18:30 +0800)
committermeimei <meimei@huawei.com>
Thu, 28 Jan 2016 11:08:42 +0000 (19:08 +0800)
Change-Id: I0369f9bb2253fe77e69ea85da291a758555143a6
Signed-off-by: meimei <meimei@huawei.com>
jjb/compass4nfv/compass-project-jobs.yml

index 3a10cbd..ea978d4 100644 (file)
@@ -42,7 +42,7 @@
     properties:
         - throttle:
             enabled: true
-            max-total: 0
+            max-total: 4
             max-per-node: 1
 
     parameters:
             max-per-node: 1
 
     scm:
-        - git-scm:
+        - gerrit-trigger-scm:
             credentials-id: '{ssh-credentials}'
             refspec: '$GERRIT_REFSPEC'
-            branch: '{branch}'
+            choosing-strategy: 'gerrit'
 
     builders:
         - shell: