Ignore ref-updated event in doc builds 19/1419/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 8 Nov 2019 14:09:06 +0000 (09:09 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 8 Nov 2019 14:09:06 +0000 (09:09 -0500)
The RTDv3 template by default listens for tag push events
(ref-updated events), but the O-RAN-SC doc process has no need
at present. Ignore to skip unnecessary builds at readthedocs.io.

Also renamed the directory and file to match the actual job prefix.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I6e5f1f03ad639ca92aa72b353bb0e533571af748

jjb/rtdv3/rtdv3.yaml [moved from jjb/read-the-docs/rtd.yaml with 54% similarity]

similarity index 54%
rename from jjb/read-the-docs/rtd.yaml
rename to jjb/rtdv3/rtdv3.yaml
index 8715884..25f325d 100644 (file)
@@ -1,7 +1,9 @@
-# Global read the docs jobs
+# Global read the docs version 3 jobs
 #
 # jobs trigger for all projects on any changes
 # to files in the docs/* directory
+# and publish subprojects to readthedocs.io
+# using credentials from Jenkins settings
 ---
 - project:
     name: rtdv3-view
 - project:
     name: rtdv3-global
     build-node: centos7-builder-1c-1g
+    # override the default to ignore ref-updated-event
+    gerrit_merge_triggers:
+      - change-merged-event
+      - comment-added-contains-event:
+          comment-contains-value: remerge$
     jobs:
       - rtdv3-global-verify
       - rtdv3-global-merge