[opnfvdocs] Add moselle jobs
[releng.git] / jjb / opnfvdocs / opnfvdocs.yaml
1 ---
2 ########################
3 # Job configuration for opnfvdocs
4 ########################
5 - project:
6
7     name: opnfvdocs
8
9     project: '{name}'
10
11     jobs:
12       - 'opnfvdocs-verify-shellcheck-{stream}'
13       - 'opnfvdocs-merge-shellcheck-{stream}'
14
15     stream:
16       - master:
17           branch: '{stream}'
18           gs-pathname: ''
19           disabled: false
20       - moselle:
21           branch: 'stable/{stream}'
22           gs-pathname: '/{stream}'
23           disabled: false
24       - lakelse:
25           branch: 'stable/{stream}'
26           gs-pathname: '/{stream}'
27           disabled: false
28       - hunter:
29           branch: 'stable/{stream}'
30           gs-pathname: '/{stream}'
31           disabled: false
32
33 ########################
34 # job templates
35 ########################
36
37 - job-template:
38     name: 'opnfvdocs-verify-shellcheck-{stream}'
39
40     disabled: '{obj:disabled}'
41
42     parameters:
43       - project-parameter:
44           project: $GERRIT_PROJECT
45           branch: '{branch}'
46       - string:
47           name: GIT_CLONE_BASE
48           default: ssh://gerrit.opnfv.org:29418
49           description: "Used for overriding the GIT URL coming from parameters macro."
50       - 'opnfv-build-defaults'
51
52     scm:
53       - git-scm-gerrit
54
55     triggers:
56       - gerrit:
57           server-name: 'gerrit.opnfv.org'
58           trigger-on:
59             - patchset-created-event:
60                 exclude-drafts: 'false'
61                 exclude-trivial-rebase: 'false'
62                 exclude-no-code-change: 'false'
63             - draft-published-event
64             - comment-added-contains-event:
65                 comment-contains-value: 'recheck'
66             - comment-added-contains-event:
67                 comment-contains-value: 'reverify'
68           projects:
69             - project-compare-type: 'REG_EXP'
70               project-pattern: '{project}'
71               branches:
72                 - branch-compare-type: 'ANT'
73                   branch-pattern: '**/{branch}'
74           skip-vote:
75             successful: true
76             failed: true
77             unstable: true
78             notbuilt: true
79
80     builders:
81       - lint-bash-code
82
83 - job-template:
84     name: 'opnfvdocs-merge-shellcheck-{stream}'
85
86     disabled: '{obj:disabled}'
87
88     parameters:
89       - project-parameter:
90           project: $GERRIT_PROJECT
91           branch: '{branch}'
92       - string:
93           name: GIT_CLONE_BASE
94           default: ssh://gerrit.opnfv.org:29418
95           description: "Used for overriding the GIT URL coming from parameters macro."
96       - string:
97           name: GS_URL
98           default: '$GS_BASE{gs-pathname}'
99           description: "Directory where the build artifact will be located upon\
100             \ the completion of the build."
101       - 'opnfv-build-defaults'
102
103     scm:
104       - git-scm
105
106     triggers:
107       - gerrit:
108           server-name: 'gerrit.opnfv.org'
109           trigger-on:
110             - change-merged-event
111             - comment-added-contains-event:
112                 comment-contains-value: 'remerge'
113           projects:
114             - project-compare-type: 'REG_EXP'
115               project-pattern: '{project}'
116               branches:
117                 - branch-compare-type: 'ANT'
118                   branch-pattern: '**/{branch}'
119
120     builders:
121       - lint-bash-code