create verify job for opnfvdocs for master and stable/arno 05/1005/2
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 14 Jul 2015 09:31:31 +0000 (09:31 +0000)
committerJun Li <matthew.lijun@huawei.com>
Wed, 15 Jul 2015 08:28:06 +0000 (08:28 +0000)
JIRA: OCTO-83

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

index da9f13c..2f927d5 100644 (file)
@@ -3,7 +3,7 @@
     jobs:
         - 'opnfvdocs-daily-{stream}'
         - 'opnfvdocs-merge'
-        - 'opnfvdocs-verify'
+        - 'opnfvdocs-verify-{stream}'
 
     # stream:    branch with - in place of / (eg. stable-helium)
     # branch:    branch (eg. stable/helium)
@@ -60,7 +60,7 @@
             !include-raw docu-build.sh
 
 - job-template:
-    name: 'opnfvdocs-verify'
+    name: 'opnfvdocs-verify-{stream}'
 
     node: gce-opnfv-docker-1
 
@@ -76,7 +76,7 @@
         - project-parameter:
             project: '{project}'
         - gerrit-parameter:
-            branch: 'master'
+            branch: '{branch}'
     scm:
         - gerrit-trigger-scm:
             credentials-id: '{ssh-credentials}'
                 project-pattern: 'opnfvdocs'
                 branches:
                   - branch-compare-type: 'ANT'
-                    branch-pattern: '**/master'
+                    branch-pattern: '**/{branch}'
 
     builders:
         - shell: