Remove sudo in functest-kubernetes jjbs
[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       - gambia:
21           branch: 'stable/{stream}'
22           gs-pathname: '/{stream}'
23           disabled: false
24       - fraser:
25           branch: 'stable/{stream}'
26           gs-pathname: '/{stream}'
27           disabled: false
28
29 ########################
30 # job templates
31 ########################
32
33 - job-template:
34     name: 'opnfvdocs-verify-shellcheck-{stream}'
35
36     disabled: '{obj:disabled}'
37
38     parameters:
39       - project-parameter:
40           project: $GERRIT_PROJECT
41           branch: '{branch}'
42       - string:
43           name: GIT_CLONE_BASE
44           default: ssh://gerrit.opnfv.org:29418
45           description: "Used for overriding the GIT URL coming from parameters macro."
46
47     scm:
48       - git-scm-gerrit
49
50     triggers:
51       - gerrit:
52           server-name: 'gerrit.opnfv.org'
53           trigger-on:
54             - patchset-created-event:
55                 exclude-drafts: 'false'
56                 exclude-trivial-rebase: 'false'
57                 exclude-no-code-change: 'false'
58             - draft-published-event
59             - comment-added-contains-event:
60                 comment-contains-value: 'recheck'
61             - comment-added-contains-event:
62                 comment-contains-value: 'reverify'
63           projects:
64             - project-compare-type: 'REG_EXP'
65               project-pattern: '{project}'
66               branches:
67                 - branch-compare-type: 'ANT'
68                   branch-pattern: '**/{branch}'
69           skip-vote:
70             successful: true
71             failed: true
72             unstable: true
73             notbuilt: true
74
75     builders:
76       - lint-bash-code
77
78 - job-template:
79     name: 'opnfvdocs-merge-shellcheck-{stream}'
80
81     disabled: '{obj:disabled}'
82
83     parameters:
84       - project-parameter:
85           project: $GERRIT_PROJECT
86           branch: '{branch}'
87       - string:
88           name: GIT_CLONE_BASE
89           default: ssh://gerrit.opnfv.org:29418
90           description: "Used for overriding the GIT URL coming from parameters macro."
91       - string:
92           name: GS_URL
93           default: '$GS_BASE{gs-pathname}'
94           description: "Directory where the build artifact will be located upon\
95             \ the completion of the build."
96
97     scm:
98       - git-scm
99
100     triggers:
101       - gerrit:
102           server-name: 'gerrit.opnfv.org'
103           trigger-on:
104             - change-merged-event
105             - comment-added-contains-event:
106                 comment-contains-value: 'remerge'
107           projects:
108             - project-compare-type: 'REG_EXP'
109               project-pattern: '{project}'
110               branches:
111                 - branch-compare-type: 'ANT'
112                   branch-pattern: '**/{branch}'
113
114     builders:
115       - lint-bash-code