updating the verify job to match the new build script
[releng.git] / jjb / vswitchperf / vswitchperf.yml
index 39803aa..fe6ea49 100644 (file)
@@ -9,14 +9,13 @@
         - 'vswitchperf-merge-{stream}'
         - 'vswitchperf-daily-{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:
 
@@ -34,7 +33,8 @@
             branch: '{branch}'
 
     triggers:
-        - pollscm: '@midnight'
+        - pollscm:
+            cron: '@midnight'
 
     builders:
         - shell: |
             make
             # run basic sanity test
             make sanity
-            scl enable python33 bash
-            source ~/vsperfenv/bin/activate
             cd ../ci
-            ./build-vsperf.sh daily
+            scl enable python33 "source ~/vsperfenv/bin/activate ; ./build-vsperf.sh daily"
 
 - job-template:
     name: 'vswitchperf-verify-{stream}'
             make
             # run basic sanity test
             make sanity
-            scl enable python33 bash
-            source ~/vsperfenv/bin/activate
-            cd ../ci
-            ./build-vsperf.sh verify
 
 - job-template:
     name: 'vswitchperf-merge-{stream}'
             cd src
             make clobber
             make
-            scl enable python33 bash
-            source ~/vsperfenv/bin/activate
-            cd ../ci
-            ./build-vsperf.sh merge