summaryrefslogtreecommitdiffstats
path: root/jjb/kvmfornfv
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2016-11-17 02:36:45 -0800
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2016-11-22 08:27:48 +0000
commit4807f9719b8e79a6054805fc2e3a57145529a9d3 (patch)
tree0793cd7cd51125a0127121afa98c49b4ad28a40e /jjb/kvmfornfv
parent1b9ae8e0b83cf0372d3812b5a5c67fb3bf5841c7 (diff)
KVMFORNFV: Implementing kvmfornfv daily jobs.
JIRA: RELENG-169 This patch includes scripts for implementing kvmfornfv daily jobs to trigger cyclictest and packet forwarding testcases based on the test name. Change-Id: Ibcd3e2268c0cf9b3b1d6a0e90a868430ddc1b593 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'jjb/kvmfornfv')
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-test.sh9
-rw-r--r--jjb/kvmfornfv/kvmfornfv.yml10
2 files changed, 12 insertions, 7 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv-test.sh b/jjb/kvmfornfv/kvmfornfv-test.sh
index f677f470d..b31d61cce 100755
--- a/jjb/kvmfornfv/kvmfornfv-test.sh
+++ b/jjb/kvmfornfv/kvmfornfv-test.sh
@@ -13,9 +13,16 @@ else
exit 1
fi
+echo $TEST_NAME
+
# do stuff differently based on the job type
case "$JOB_TYPE" in
- verify|daily)
+ verify)
+ #start the test
+ cd $WORKSPACE
+ ./ci/test_kvmfornfv.sh $JOB_TYPE
+ ;;
+ daily)
#start the test
cd $WORKSPACE
./ci/test_kvmfornfv.sh $JOB_TYPE $TEST_NAME
diff --git a/jjb/kvmfornfv/kvmfornfv.yml b/jjb/kvmfornfv/kvmfornfv.yml
index 2c8446e07..04fce221c 100644
--- a/jjb/kvmfornfv/kvmfornfv.yml
+++ b/jjb/kvmfornfv/kvmfornfv.yml
@@ -112,8 +112,6 @@
node-parameters: false
kill-phase-on: FAILURE
abort-all-job: true
-
-
- job-template:
name: 'kvmfornfv-verify-{phase}-{stream}'
@@ -271,7 +269,7 @@
name: build
condition: SUCCESSFUL
projects:
- - name: 'kvmfornfv-Packet_Forwarding-daily-build-{stream}'
+ - name: 'kvmfornfv-Packet_Forwarding-daily-test-{stream}'
current-parameters: false
node-parameters: false
git-revision: true
@@ -316,21 +314,21 @@
# parameter macros
########################
- parameter:
- name: 'kvmfornfv-Idle_Idle-daily-parameter'
+ name: 'kvmfornfv-Idle_Idle-daily-test-{stream}'
parameters:
- string:
name: TEST_NAME
default: 'idle_idle'
description: "Daily job to run cyclictest without applying any stress"
- parameter:
- name: 'kvmfornfv-Stress_Idle-daily-parameter'
+ name: 'kvmfornfv-Stress_Idle-daily-test-{stream}'
parameters:
- string:
name: TEST_NAME
default: 'stress_idle'
description: "Daily job to run cyclictest with stress applied"
- parameter:
- name: 'kvmfornfv-Packet_Forwarding-daily-parameter'
+ name: 'kvmfornfv-Packet_Forwarding-daily-test-{stream}'
parameters:
- string:
name: TEST_NAME