Add OPNFV_RELEASE in enviroment which is used in testapi reporting
[releng.git] / jjb / qtip / qtip-validate-jobs.yml
1 ---
2 #######################
3 # validate after MERGE
4 #######################
5 - project:
6     name: qtip
7     project: qtip
8
9     # -------------------------------
10     # BRANCH ANCHORS
11     # -------------------------------
12     master: &master
13       stream: master
14       branch: '{stream}'
15       gs-pathname: ''
16       docker-tag: latest
17     euphrates: &euphrates
18       stream: euphrates
19       branch: 'stable/{stream}'
20       gs-pathname: '{stream}'
21       docker-tag: 'stable'
22
23     # -------------------------------
24     # JOB VARIABLES
25     # -------------------------------
26     qpi:
27       - compute:
28           installer: apex
29           pod: zte-pod4
30           <<: *master
31       - storage:
32           installer: apex
33           pod: zte-pod4
34           <<: *master
35       - compute:
36           installer: apex
37           pod: zte-pod4
38           <<: *euphrates
39       - storage:
40           installer: apex
41           pod: zte-pod4
42           <<: *euphrates
43
44     # -------------------------------
45     # JOB LIST
46     # -------------------------------
47     jobs:
48       - 'qtip-{qpi}-{installer}-{stream}'
49
50 ################################
51 # job templates
52 ################################
53 - job-template:
54     name: 'qtip-{qpi}-{installer}-{stream}'
55     disabled: false
56
57     parameters:
58       - project-parameter:
59           project: '{project}'
60           branch: '{branch}'
61       - '{installer}-defaults'
62       - '{pod}-defaults'
63       - string:
64           name: DEPLOY_SCENARIO
65           default: generic
66       - string:
67           name: DOCKER_TAG
68           default: '{docker-tag}'
69           description: 'Tag to pull docker image'
70       - string:
71           name: CI_DEBUG
72           default: 'false'
73           description: "Show debug output information"
74       - string:
75           name: TEST_SUITE
76           default: '{qpi}'
77       - string:
78           name: TESTAPI_URL
79           default: 'http://testresults.opnfv.org/test/api/v1'
80       - string:
81           name: OPNFV_RELEASE
82           default: '{stream}'
83     scm:
84       - git-scm
85
86     wrappers:
87       - timeout:
88           elastic-percentage: 150
89           elastic-default-timeout: 30
90           abort: true
91           type: elastic
92       - timestamps
93
94     triggers:
95       - 'qtip-daily'
96
97     builders:
98       - description-setter:
99           description: "POD: $NODE_NAME"
100       - shell: |
101           #!/bin/bash
102           source tests/ci/periodic.sh
103
104     publishers:
105       - qtip-common-publishers
106       - email-jenkins-admins-on-failure
107
108 ################
109 # MARCOS
110 ################
111
112 # --------
113 # builder
114 # --------
115
116 # ----------
117 # parameter
118 # ----------
119
120 # ----------
121 # publisher
122 # ----------
123
124 - publisher:
125     name: qtip-common-publishers
126     publishers:
127       - email:
128           recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
129
130 # --------
131 # trigger
132 # --------
133
134 - trigger:
135     name: 'qtip-daily'
136     triggers:
137       - timed: '0 15 * * *'