Merge changes from topics 'decouple_verify_automate', 'simplify_automate_jjb'
[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-virtual5
30           sut: node
31           <<: *master
32       - storage:
33           installer: apex
34           pod: zte-virtual5
35           sut: ''
36           <<: *master
37       - compute:
38           installer: fuel
39           pod: zte-virtual6
40           sut: vnf
41           <<: *master
42
43     # -------------------------------
44     # JOB LIST
45     # -------------------------------
46     jobs:
47       - 'qtip-{qpi}-{installer}-{pod}-{stream}'
48
49 ################################
50 # job templates
51 ################################
52 - job-template:
53     name: 'qtip-{qpi}-{installer}-{pod}-{stream}'
54     disabled: false
55
56     parameters:
57       - project-parameter:
58           project: '{project}'
59           branch: '{branch}'
60       - '{installer}-defaults'
61       - '{pod}-defaults'
62       - string:
63           name: DEPLOY_SCENARIO
64           default: generic
65       - string:
66           name: DOCKER_TAG
67           default: '{docker-tag}'
68           description: 'Tag to pull docker image'
69       - string:
70           name: CI_DEBUG
71           default: 'false'
72           description: "Show debug output information"
73       - string:
74           name: TEST_SUITE
75           default: '{qpi}'
76       - string:
77           name: TESTAPI_URL
78           default: 'http://testresults.opnfv.org/test/api/v1'
79       - string:
80           name: OPNFV_RELEASE
81           default: '{stream}'
82       - string:
83           name: SUT
84           description: "System Under Test"
85           default: '{sut}'
86     scm:
87       - git-scm
88
89     wrappers:
90       - timeout:
91           timeout: 30
92           abort: true
93       - timestamps
94
95     triggers:
96       - 'qtip-daily'
97
98     builders:
99       - description-setter:
100           description: "POD: $NODE_NAME"
101       - shell: |
102           #!/bin/bash
103           source tests/ci/periodic.sh
104
105     publishers:
106       - qtip-common-publishers
107       - email-jenkins-admins-on-failure
108
109 ################
110 # MARCOS
111 ################
112
113 # --------
114 # builder
115 # --------
116
117 # ----------
118 # parameter
119 # ----------
120
121 # ----------
122 # publisher
123 # ----------
124
125 - publisher:
126     name: qtip-common-publishers
127     publishers:
128       - email:
129           recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
130
131 # --------
132 # trigger
133 # --------
134
135 - trigger:
136     name: 'qtip-daily'
137     triggers:
138       - timed: '0 15 * * *'