Update vswitch perf jjb to use pod-params file
[releng.git] / jjb / vswitchperf / vswitchperf.yml
1 - project:
2
3     name: vswitchperf
4
5     project: '{name}'
6
7     jobs:
8         - 'vswitchperf-verify-{stream}'
9         - 'vswitchperf-merge-{stream}'
10         - 'vswitchperf-daily-{stream}'
11
12 # only master branch is enabled at the moment to keep no of jobs sane
13     stream:
14         - master:
15             branch: 'master'
16             gs-pathname: ''
17 #        - brahmaputra:
18 #            branch: 'stable/brahmaputra'
19 #            gs-pathname: '/brahmaputra'
20
21 - job-template:
22
23     name: 'vswitchperf-daily-{stream}'
24
25     parameters:
26         - project-parameter:
27             project: '{project}'
28         - 'intel-pod3-defaults'
29
30     scm:
31         - git-scm:
32             credentials-id: '{ssh-credentials}'
33             refspec: ''
34             branch: '{branch}'
35
36     triggers:
37         - timed: 'H H * * *'
38
39     builders:
40         - shell: |
41             pwd
42             cd src
43             make clobber
44             make
45             # run basic sanity test
46             make sanity
47
48 - job-template:
49     name: 'vswitchperf-verify-{stream}'
50
51     project-type: freestyle
52
53     concurrent: true
54
55     properties:
56         - throttle:
57             enabled: true
58             max-total: 3
59             max-per-node: 2
60
61     parameters:
62         - project-parameter:
63             project: '{project}'
64         - gerrit-parameter:
65             branch: '{branch}'
66         - 'opnfv-build-defaults'
67
68     scm:
69         - gerrit-trigger-scm:
70             credentials-id: '{ssh-credentials}'
71             refspec: '$GERRIT_REFSPEC'
72             choosing-strategy: 'gerrit'
73
74     triggers:
75         - gerrit:
76             trigger-on:
77                 - patchset-created-event:
78                     exclude-drafts: 'false'
79                     exclude-trivial-rebase: 'false'
80                     exclude-no-code-change: 'false'
81                 - draft-published-event
82                 - comment-added-contains-event:
83                     comment-contains-value: 'recheck'
84                 - comment-added-contains-event:
85                     comment-contains-value: 'reverify'
86             projects:
87               - project-compare-type: 'ANT'
88                 project-pattern: '{project}'
89                 branches:
90                   - branch-compare-type: 'ANT'
91                     branch-pattern: '**/{branch}'
92                 forbidden-file-paths:
93                   - compare-type: ANT
94                     pattern: 'docs/**'
95
96     builders:
97         - shell: |
98             pwd
99             cd src
100             make clobber
101             make
102             # run basic sanity test
103             make sanity
104
105 - job-template:
106     name: 'vswitchperf-merge-{stream}'
107
108     project-type: freestyle
109
110     concurrent: true
111
112     properties:
113         - throttle:
114             enabled: true
115             max-total: 3
116             max-per-node: 2
117
118     parameters:
119         - project-parameter:
120             project: '{project}'
121         - gerrit-parameter:
122             branch: '{branch}'
123         - 'opnfv-build-defaults'
124
125     scm:
126         - gerrit-trigger-scm:
127             credentials-id: '{ssh-credentials}'
128             refspec: ''
129             choosing-strategy: 'default'
130
131     triggers:
132         - gerrit:
133             trigger-on:
134                 - change-merged-event
135                 - comment-added-contains-event:
136                     comment-contains-value: 'remerge'
137             projects:
138               - project-compare-type: 'ANT'
139                 project-pattern: '{project}'
140                 branches:
141                     - branch-compare-type: 'ANT'
142                       branch-pattern: '**/{branch}'
143                 forbidden-file-paths:
144                   - compare-type: ANT
145                     pattern: 'docs/**'
146
147     builders:
148         - shell: |
149             pwd
150             cd src
151             make clobber
152             make