doctor: fix project test gate
[releng.git] / jjb / doctor / doctor.yml
index b2fba98..b2cbb02 100644 (file)
@@ -1,7 +1,3 @@
-###################################################
-# All the jobs except verify have been removed!
-# They will only be enabled on request by projects!
-###################################################
 - project:
     name: doctor
 
     jobs:
         - 'doctor-verify-{stream}'
 
-# only master branch is enabled at the moment to keep no of jobs sane
     stream:
         - master:
-            branch: 'master'
+            branch: '{stream}'
             gs-pathname: ''
-#        - brahmaputra:
-#            branch: 'stable/brahmaputra'
-#            gs-pathname: '/brahmaputra'
+        - brahmaputra:
+            branch: 'stable/{stream}'
+            gs-pathname: '/{stream}'
 
 - job-template:
     name: 'doctor-verify-{stream}'
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
-                forbidden-file-paths:
+                file-paths:
                   - compare-type: ANT
-                    pattern: 'docs/**|.gitignore'
+                    pattern: 'tests/**'
 
     builders:
-        - shell: |
-            echo "Nothing to verify!"
+        - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"