summaryrefslogtreecommitdiffstats
path: root/jjb/rtdv3/rtdv3.yaml
blob: 2ed8d617bf25343fd670bda7665d02b1599015af (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
# 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
      - rtdv3-global-merge:
          build-timeout: 30
    stream:
      - master:
          branch: "*"