Update dashboard
[releng.git] / jjb / kvmfornfv / kvmfornfv.yml
1 - project:
2     name: kvmfornfv
3
4     project: '{name}'
5
6     jobs:
7         - 'kvmfornfv-verify-{stream}'
8         - 'kvmfornfv-merge-{stream}'
9
10     stream:
11         - master:
12             branch: '{stream}'
13             gs-pathname: ''
14         - brahmaputra:
15             branch: 'stable/{stream}'
16             gs-pathname: '/{stream}'
17
18 - job-template:
19     name: 'kvmfornfv-verify-{stream}'
20
21     node: ericsson-build
22
23     parameters:
24         - project-parameter:
25             project: '{project}'
26         - gerrit-parameter:
27             branch: '{branch}'
28         - string:
29             name: GIT_BASE
30             default: https://gerrit.opnfv.org/gerrit/$PROJECT
31             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
32
33     scm:
34         - gerrit-trigger-scm:
35             credentials-id: '{ssh-credentials}'
36             refspec: '$GERRIT_REFSPEC'
37             choosing-strategy: 'gerrit'
38
39     triggers:
40         - gerrit:
41             trigger-on:
42                 - patchset-created-event:
43                     exclude-drafts: 'false'
44                     exclude-trivial-rebase: 'false'
45                     exclude-no-code-change: 'false'
46                 - draft-published-event
47                 - comment-added-contains-event:
48                     comment-contains-value: 'recheck'
49                 - comment-added-contains-event:
50                     comment-contains-value: 'reverify'
51             projects:
52               - project-compare-type: 'ANT'
53                 project-pattern: '{project}'
54                 branches:
55                   - branch-compare-type: 'ANT'
56                     branch-pattern: '**/{branch}'
57
58     builders:
59         - shell:
60             !include-raw: ./kvmfornfv-build.sh
61
62 - job-template:
63     name: 'kvmfornfv-merge-{stream}'
64
65     node: ericsson-build
66
67     parameters:
68         - project-parameter:
69             project: '{project}'
70         - gerrit-parameter:
71             branch: '{branch}'
72         - string:
73             name: GIT_BASE
74             default: https://gerrit.opnfv.org/gerrit/$PROJECT
75             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
76
77     scm:
78         - gerrit-trigger-scm:
79             credentials-id: '{ssh-credentials}'
80             refspec: ''
81             choosing-strategy: 'default'
82
83     triggers:
84         - gerrit:
85             trigger-on:
86                 - change-merged-event
87                 - comment-added-contains-event:
88                     comment-contains-value: 'remerge'
89             projects:
90               - project-compare-type: 'ANT'
91                 project-pattern: '{project}'
92                 branches:
93                     - branch-compare-type: 'ANT'
94                       branch-pattern: '**/{branch}'
95
96     builders:
97         - shell:
98             !include-raw: ./kvmfornfv-build.sh