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