CI: Modify jjb in releng to use vsperf build script for the nightly build 87/4787/4
authorRadek Zetik <radekx.zetik@intel.com>
Thu, 17 Dec 2015 11:42:57 +0000 (11:42 +0000)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Sat, 19 Dec 2015 17:53:16 +0000 (17:53 +0000)
This patch adds calling of the build-vsperf.sh script which starts
defined testcases for vsperf project.
The script is called for all defined VSPERF jobs with particular
options:
build-vsperf.sh daily
build-vsperf.sh merge
build-vsperf.sh verify
It brings the placeholder for basic testing after change in repo.

JIRA: VSPERF-156

Change-Id: I6d97fa6131ca396f9225c52a4dff6f42a3a139fa
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Aric Gardner <agardner@linuxfoundation.org>
Reviewed-by: Xinyu Zhao(Jerry) <zhaoxinyu@huawei.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Ulrich Kleber <Ulrich.Kleber@huawei.com>
jjb/vswitchperf/vswitchperf.yml

index a06507a..39803aa 100644 (file)
@@ -34,7 +34,7 @@
             branch: '{branch}'
 
     triggers:
-        - timed: 'H H * * *'
+        - pollscm: '@midnight'
 
     builders:
         - shell: |
             make
             # run basic sanity test
             make sanity
+            scl enable python33 bash
+            source ~/vsperfenv/bin/activate
+            cd ../ci
+            ./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