refactor email recipients to parameter with default value
[releng/builder.git] / jjb / docs / docs-rtd.yaml
index 66abc6133e6f6b270492d3508a3d44ec8410cc97..a24dcceee5fadaee764f1526d1ea6ff1df229fb6 100644 (file)
@@ -51,7 +51,7 @@
                     branch-pattern: '**/{branch}'
                 file-paths:
                     - compare-type: ANT
-                      pattern: docs/**
+                      pattern: docs/**/*.rst
 
     builders:
         - shell: |
 
     publishers:
         - email-notification:
+            email-recipients: '{email-recipients}'
             email-prefix: '[docs]'
         - opendaylight-infra-shiplogs:
-            maven-version: '{mvn33}'
+            maven-version: 'mvn33'
 
 - job-template:
     name: 'docs-verify-rtd-{stream}'
             trigger-on:
                 - patchset-created-event:
                     exclude-drafts: 'true'
-                    exclude-trivial-rebase: 'true'
+                    exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'true'
                 - draft-published-event
                 - comment-added-contains-event:
                     comment-contains-value: 'recheck'
+                - comment-added-contains-event:
+                    comment-contains-value: 'redocs'
+                    # FIXME: Describe this job in docs/jenkins.rst including the BEWARE section.
             projects:
               - project-compare-type: 'ANT'
                 project-pattern: '**'
                     branch-pattern: '**/{branch}'
                 file-paths:
                     - compare-type: ANT
-                      pattern: docs/**
+                      pattern: docs/**/*.rst
         - timed: 'H H * * *'
 
     builders:
 
     publishers:
         - email-notification:
+            email-recipients: '{email-recipients}'
             email-prefix: '[docs]'
         - opendaylight-infra-shiplogs:
-            maven-version: '{mvn33}'
+            maven-version: 'mvn33'