summaryrefslogtreecommitdiffstats
path: root/jjb/rtdv3/rtdv3.yaml
blob: 0077c7d9b492c54ed05c97e8e008ec83c569357c (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
# Global read the docs version 3 jobs
#
# jobs trigger for all projects, all branches
# on any changes to files in a docs/ directory
# and publish subprojects to readthedocs.io
# using credentials from Jenkins settings
---
- project:
    name: rtdv3-view
    project-name: rtdv3-global
    views:
      - project-view

- project:
    name: rtdv3-global
    default-version: latest
    tox-dir: "docs/"
    doc-dir: "_build/html"
    build-node: centos8-builder-2c-1g
    # the jjb is very short and filtering docs falsy raises side effects in
    # ONAP doc
    gerrit_trigger_file_paths:
    # override the default to allow rechecking a patchset
    gerrit_verify_triggers:
      - patchset-created-event:
          exclude-drafts: true
          exclude-trivial-rebase: false
          exclude-no-code-change: false
      - draft-published-event
      - comment-added-contains-event:
          comment-contains-value: "(recheck|reverify)"
    # override the default to ignore ref-updated-event (tag)
    gerrit_merge_triggers:
      - change-merged-event
      - comment-added-contains-event:
          comment-contains-value: "remerge"
    jobs:
      - rtdv3-global-verify:
          disable-job: true
      - rtdv3-global-merge:
          build-timeout: 30
          disable-job: true
    stream:
      - master:
          branch: "*"