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