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