Remove '|' from ovn4nfv plugin unit test builder
[releng.git] / jjb / ovn4nfv / ovn4nfv-k8s-plugins-project-jobs.yaml
1 ---
2 - project:
3     name: ovn4nfv-k8s-plugin-project-jobs
4
5     project: 'ovn4nfv-k8s-plugin'
6
7     jobs:
8       - 'ovn4nfv-k8s-plugin-verify-{stream}'
9       - 'ovn4nfv-k8s-plugin-merge-{stream}'
10
11     stream:
12       - master:
13           branch: '{stream}'
14           gs-pathname: ''
15           disabled: false
16
17 ################################
18 # job templates
19 ################################
20
21 - job-template:
22     name: 'ovn4nfv-k8s-plugin-verify-{stream}'
23
24     disabled: '{obj:disabled}'
25
26     parameters:
27       - project-parameter:
28           project: '{project}'
29           branch: '{branch}'
30       - opnfv-build-defaults
31
32     scm:
33       - git-scm-gerrit
34
35     triggers:
36       - gerrit:
37           server-name: 'gerrit.opnfv.org'
38           trigger-on:
39             - patchset-created-event:
40                 exclude-drafts: 'false'
41                 exclude-trivial-rebase: 'false'
42                 exclude-no-code-change: 'false'
43             - draft-published-event
44             - comment-added-contains-event:
45                 comment-contains-value: 'recheck'
46             - comment-added-contains-event:
47                 comment-contains-value: 'reverify'
48           projects:
49             - project-compare-type: 'ANT'
50               project-pattern: '{project}'
51               branches:
52                 - branch-compare-type: 'ANT'
53                   branch-pattern: '**/{branch}'
54
55     wrappers:
56       - ssh-agent-wrapper
57       - timeout:
58           timeout: 30
59           fail: true
60
61     builders:
62       - ovn4nfv-k8s-plugin-unit-tests-golang
63
64 - job-template:
65     name: 'ovn4nfv-k8s-plugin-merge-{stream}'
66
67     disabled: '{obj:disabled}'
68
69     parameters:
70       - project-parameter:
71           project: '{project}'
72           branch: '{branch}'
73       - opnfv-build-defaults
74
75     scm:
76       - git-scm
77
78     triggers:
79       - gerrit:
80           server-name: 'gerrit.opnfv.org'
81           trigger-on:
82             - change-merged-event
83             - comment-added-contains-event:
84                 comment-contains-value: 'remerge'
85           projects:
86             - project-compare-type: 'ANT'
87               project-pattern: '{project}'
88               branches:
89                 - branch-compare-type: 'ANT'
90                   branch-pattern: '**/{branch}'
91
92     wrappers:
93       - ssh-agent-wrapper
94       - timeout:
95           timeout: 30
96           fail: true
97
98     builders:
99       - ovn4nfv-k8s-plugin-unit-tests-golang
100
101 ################################
102 # job builders
103 ################################
104
105 - builder:
106     name: ovn4nfv-k8s-plugin-unit-tests-golang
107     builders:
108       - shell:
109           !include-raw: ./golang-make-test.sh