blob: 5f74492c3c8f8e2505c69488515ad3cf2e6364e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
- scm:
name: doc-scm
scm:
- git:
url: 'https://gerrit.onap.org/r/{project}'
refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*'
branches:
- '{ref}'
- trigger:
name: doc-rules-patchset-created
triggers:
- gerrit:
trigger-on:
- patchset-created-event
- comment-added-contains-event:
comment-contains-value: recheck
- comment-added-contains-event:
comment-contains-value: reverify
server-name: 'Primary'
projects:
- project-compare-type: 'ANT'
project-pattern: '**'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/*'
- branch-compare-type: 'ANT'
branch-pattern: 'refs/tags/**'
- builder:
name: doc-rules
builders:
- shell: |
echo Checking if all Sphinx warnings are treated as errors
find -name tox.ini |xargs grep sphinx-build | grep -v spelling | grep -v \\-W && exit 1 || exit 0
- job-template:
name: doc-rules
node: centos7-builder-2c-1g
triggers:
- doc-rules-patchset-created
scm:
- doc-scm:
ref: $GERRIT_REFSPEC
project: $GERRIT_PROJECT
builders:
- doc-rules
- project:
name: 'doc-rules'
jobs:
- 'doc-rules'
|