create merge jobs for pharos for master and stable/arno 01/1001/1
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 14 Jul 2015 08:57:48 +0000 (08:57 +0000)
committerMatthewLi <matthew.lijun@huawei.com>
Tue, 14 Jul 2015 09:01:13 +0000 (09:01 +0000)
JIRA: OCTO-86

Change-Id: I43b039297c39699d5fac5c14eab8ac3e988f8121
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
jjb/pharos/pharos.yml

index 4a414ab..c763899 100644 (file)
@@ -6,7 +6,7 @@
     jobs:
         - 'pharos-test'
         - 'pharos-daily-{stream}'
-        - 'pharos-merge'
+        - 'pharos-merge-{stream}'
         - 'pharos-verify-{stream}'
 
     # stream:    branch with - in place of / (eg. stable-arno)
             !include-raw ../opnfvdocs/docu-build.sh
 
 - job-template:
-    name: 'pharos-merge'
+    name: 'pharos-merge-{stream}'
 
     node: master
 
         - project-parameter:
             project: '{project}'
         - gerrit-parameter:
-            branch: 'master'
+            branch: '{branch}'
 
     scm:
         - gerrit-trigger-scm:
                 project-pattern: 'pharos'
                 branches:
                     - branch-compare-type: 'ANT'
-                      branch-pattern: '**/master'
+                      branch-pattern: '**/{branch}'
 
     builders:
         - shell: