clean scm defenitions
[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         - git-scm-gerrit
40
41     triggers:
42         - gerrit:
43             server-name: 'gerrit.opnfv.org'
44             trigger-on:
45                 - patchset-created-event:
46                     exclude-drafts: 'false'
47                     exclude-trivial-rebase: 'false'
48                     exclude-no-code-change: 'false'
49                 - draft-published-event
50                 - comment-added-contains-event:
51                     comment-contains-value: 'recheck'
52                 - comment-added-contains-event:
53                     comment-contains-value: 'reverify'
54             projects:
55               - project-compare-type: 'ANT'
56                 project-pattern: '{project}'
57                 branches:
58                   - branch-compare-type: 'ANT'
59                     branch-pattern: '**/{branch}'
60
61     builders:
62         - shell: |
63             $WORKSPACE/ci/verify.sh
64
65     publishers:
66         - junit:
67             results: nosetests.xml
68         - cobertura:
69             report-file: "coverage.xml"
70             only-stable: "true"
71             health-auto-update: "true"
72             stability-auto-update: "true"
73             zoom-coverage-chart: "true"
74             targets:
75                 - files:
76                     healthy: 10
77                     unhealthy: 20
78                     failing: 30
79                 - method:
80                     healthy: 50
81                     unhealthy: 40
82                     failing: 30
83
84 - job-template:
85     name: 'storperf-merge-{stream}'
86
87     node: opnfv-build-ubuntu
88
89     parameters:
90         - project-parameter:
91             project: '{project}'
92         - gerrit-parameter:
93             branch: 'master'
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     node: opnfv-build-ubuntu
148
149     disabled: true
150
151     parameters:
152         - project-parameter:
153             project: '{project}'
154
155     scm:
156         - git-scm
157
158     triggers:
159         - timed: 'H H * * *'
160
161     builders:
162         - shell: |
163             $WORKSPACE/ci/daily.sh
164