cd40050b2b29d8a3ecfea6c7706ef9a68ab2475a
[releng.git] / jjb / storperf / storperf.yml
1 - project:
2     name: storperf
3
4     project: '{name}'
5
6     jobs:
7         - 'storperf-verify-{stream}'
8         - 'storperf-merge-{stream}'
9         - 'storperf-daily-{stream}'
10
11     stream:
12         - master:
13             branch: '{stream}'
14             gs-pathname: ''
15             disabled: false
16             docker-tag: 'latest'
17         - danube:
18             branch: 'stable/{stream}'
19             gs-pathname: '/{stream}'
20             disabled: false
21             docker-tag: 'stable'
22
23 - job-template:
24     name: 'storperf-verify-{stream}'
25
26     disabled: '{obj:disabled}'
27
28     node: opnfv-build-ubuntu
29
30     parameters:
31         - project-parameter:
32             project: '{project}'
33             branch: '{branch}'
34         - string:
35             name: GIT_BASE
36             default: https://gerrit.opnfv.org/gerrit/$PROJECT
37             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
38
39     scm:
40         - git-scm-gerrit
41
42     triggers:
43         - gerrit:
44             server-name: 'gerrit.opnfv.org'
45             trigger-on:
46                 - patchset-created-event:
47                     exclude-drafts: 'false'
48                     exclude-trivial-rebase: 'false'
49                     exclude-no-code-change: 'false'
50                 - draft-published-event
51                 - comment-added-contains-event:
52                     comment-contains-value: 'recheck'
53                 - comment-added-contains-event:
54                     comment-contains-value: 'reverify'
55             projects:
56               - project-compare-type: 'ANT'
57                 project-pattern: '{project}'
58                 branches:
59                   - branch-compare-type: 'ANT'
60                     branch-pattern: '**/{branch}'
61
62     builders:
63         - shell: |
64             $WORKSPACE/ci/verify.sh
65
66     publishers:
67         - junit:
68             results: nosetests.xml
69         - cobertura:
70             report-file: "coverage.xml"
71             only-stable: "true"
72             health-auto-update: "true"
73             stability-auto-update: "true"
74             zoom-coverage-chart: "true"
75             targets:
76                 - files:
77                     healthy: 10
78                     unhealthy: 20
79                     failing: 30
80                 - method:
81                     healthy: 50
82                     unhealthy: 40
83                     failing: 30
84
85 - job-template:
86     name: 'storperf-merge-{stream}'
87
88     node: opnfv-build-ubuntu
89
90     parameters:
91         - project-parameter:
92             project: '{project}'
93             branch: '{branch}'
94         - string:
95             name: GIT_BASE
96             default: https://gerrit.opnfv.org/gerrit/$PROJECT
97             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
98
99     scm:
100         - git-scm
101
102     triggers:
103         - gerrit:
104             server-name: 'gerrit.opnfv.org'
105             trigger-on:
106                 - change-merged-event
107                 - comment-added-contains-event:
108                     comment-contains-value: 'remerge'
109             projects:
110               - project-compare-type: 'ANT'
111                 project-pattern: '{project}'
112                 branches:
113                     - branch-compare-type: 'ANT'
114                       branch-pattern: '**/{branch}'
115
116     builders:
117         - shell: |
118             $WORKSPACE/ci/merge.sh
119
120     publishers:
121         - junit:
122             results: nosetests.xml
123         - cobertura:
124             report-file: "coverage.xml"
125             only-stable: "true"
126             health-auto-update: "true"
127             stability-auto-update: "true"
128             zoom-coverage-chart: "true"
129             targets:
130                 - files:
131                     healthy: 10
132                     unhealthy: 20
133                     failing: 30
134                 - method:
135                     healthy: 50
136                     unhealthy: 40
137                     failing: 30
138
139 - job-template:
140     name: 'storperf-daily-{stream}'
141
142     # Job template for daily builders
143     #
144     # Required Variables:
145     #     stream:    branch with - in place of / (eg. stable)
146     #     branch:    branch (eg. stable)
147     disabled: '{obj:disabled}'
148
149     parameters:
150         - project-parameter:
151             project: '{project}'
152             branch: '{branch}'
153         - 'intel-pod9-defaults'
154         - string:
155             name: DEPLOY_SCENARIO
156             default: 'os-nosdn-nofeature-noha'
157         - string:
158             name: DOCKER_TAG
159             default: '{docker-tag}'
160             description: 'Tag to pull docker image'
161
162     scm:
163         - git-scm
164
165     triggers:
166         - timed: 'H H * * *'
167
168     builders:
169         - shell: |
170             $WORKSPACE/ci/daily.sh
171