Enable verify and merge jobs for stable/brahmaputra branch
[releng.git] / jjb / pharos / pharos.yml
index 011a28a..3bef225 100644 (file)
     jobs:
         - 'pharos-verify-{stream}'
 
-# only master branch is enabled at the moment to keep no of jobs sane
     stream:
         - master:
-            branch: 'master'
+            branch: '{stream}'
             gs-pathname: ''
-#        - stable-brahmaputra:
-#            branch: 'stable/brahmaputra'
-#            gs-pathname: '/brahmaputra'
+        - brahmaputra:
+            branch: 'stable/{stream}'
+            gs-pathname: '/{stream}'
 
 - job-template:
     name: 'pharos-verify-{stream}'
@@ -26,7 +25,7 @@
         - project-parameter:
             project: '{project}'
         - gerrit-parameter:
-            branch: '{stream}'
+            branch: '{branch}'
         - 'opnfv-build-defaults'
 
     scm:
@@ -52,7 +51,7 @@
                 project-pattern: '{project}'
                 branches:
                   - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{stream}'
+                    branch-pattern: '**/{branch}'
                 forbidden-file-paths:
                   - compare-type: ANT
                     pattern: 'docs/**|.gitignore'