create merge jobs for octopus for master and stable arno 25/925/1
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 30 Jun 2015 11:28:57 +0000 (11:28 +0000)
committerMatthewLi <matthew.lijun@huawei.com>
Tue, 30 Jun 2015 11:32:57 +0000 (11:32 +0000)
JIRA: OCTO-85

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

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