Merge "Integrate functest with ARM Architecture with alpine images"
[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       - 'opnfvdocs-daily-{stream}'
15
16     stream:
17       - master:
18           branch: '{stream}'
19           gs-pathname: ''
20           disabled: false
21       - euphrates:
22           branch: 'stable/{stream}'
23           gs-pathname: '/{stream}'
24           disabled: false
25
26 ########################
27 # job templates
28 ########################
29
30 - job-template:
31     name: 'opnfvdocs-verify-shellcheck-{stream}'
32
33     disabled: '{obj:disabled}'
34
35     parameters:
36       - project-parameter:
37           project: $GERRIT_PROJECT
38           branch: '{branch}'
39       - string:
40           name: GIT_CLONE_BASE
41           default: ssh://gerrit.opnfv.org:29418
42           description: "Used for overriding the GIT URL coming from parameters macro."
43
44     scm:
45       - git-scm-gerrit
46
47     triggers:
48       - gerrit:
49           server-name: 'gerrit.opnfv.org'
50           trigger-on:
51             - patchset-created-event:
52                 exclude-drafts: 'false'
53                 exclude-trivial-rebase: 'false'
54                 exclude-no-code-change: 'false'
55             - draft-published-event
56             - comment-added-contains-event:
57                 comment-contains-value: 'recheck'
58             - comment-added-contains-event:
59                 comment-contains-value: 'reverify'
60           projects:
61             - project-compare-type: 'REG_EXP'
62               project-pattern: '{project}'
63               branches:
64                 - branch-compare-type: 'ANT'
65                   branch-pattern: '**/{branch}'
66           skip-vote:
67             successful: true
68             failed: true
69             unstable: true
70             notbuilt: true
71
72     builders:
73       - check-bash-syntax
74
75 - job-template:
76     name: 'opnfvdocs-merge-shellcheck-{stream}'
77
78     disabled: '{obj:disabled}'
79
80     parameters:
81       - project-parameter:
82           project: $GERRIT_PROJECT
83           branch: '{branch}'
84       - string:
85           name: GIT_CLONE_BASE
86           default: ssh://gerrit.opnfv.org:29418
87           description: "Used for overriding the GIT URL coming from parameters macro."
88       - string:
89           name: GS_URL
90           default: '$GS_BASE{gs-pathname}'
91           description: "Directory where the build artifact will be located upon the completion of the build."
92
93     scm:
94       - git-scm
95
96     triggers:
97       - gerrit:
98           server-name: 'gerrit.opnfv.org'
99           trigger-on:
100             - change-merged-event
101             - comment-added-contains-event:
102                 comment-contains-value: 'remerge'
103           projects:
104             - project-compare-type: 'REG_EXP'
105               project-pattern: '{project}'
106               branches:
107                 - branch-compare-type: 'ANT'
108                   branch-pattern: '**/{branch}'
109
110     builders:
111       - check-bash-syntax
112
113 - job-template:
114     name: 'opnfvdocs-daily-{stream}'
115
116     disabled: true
117
118     parameters:
119       - project-parameter:
120           project: '{project}'
121           branch: '{branch}'
122       - string:
123           name: GS_URL
124           default: '$GS_BASE{gs-pathname}'
125           description: "Directory where the build artifact will be located upon the completion of the build."
126       - string:
127           name: GIT_CLONE_BASE
128           default: ssh://gerrit.opnfv.org:29418
129           description: "Used for overriding the GIT URL coming from parameters macro."
130
131     scm:
132       - git-scm
133
134     triggers:
135       - timed: '0 H/6 * * *'
136
137     builders:
138       - build-html-and-pdf-docs-output
139 #     - upload-generated-docs-to-opnfv-artifacts