Update opnfv-docs Merge Job Trigger and Parameter
[releng.git] / jjb / opnfv / opnfv-docs.yml
index 0ac8aa7..307c1db 100644 (file)
             name: GS_URL
             default: '$GS_BASE{gs-pathname}'
             description: "Directory where the build artifact will be located upon the completion of the build."
+        - string:
+            name: GERRIT_REFSPEC
+            default: 'refs/heads/{branch}'
+            description: "JJB configured GERRIT_REFSPEC parameter"
 
     scm:
         - gerrit-trigger-scm:
                 - change-merged-event
                 - comment-added-contains-event:
                     comment-contains-value: 'remerge'
+                - comment-added-contains-event:
+                    comment-contains-value: 'rebuild docs'
             projects:
                 - project-compare-type: 'ANT'
                   project-pattern: '*'