Improve docs-rtd job to only build on rst 36/45236/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 6 Sep 2016 15:10:18 +0000 (11:10 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 6 Sep 2016 15:10:32 +0000 (11:10 -0400)
Some projects have a docs directory that are asciidoc and not
restructuredtext. This fixes the job to not build in those cases.

Change-Id: I0a2eee5550b1ca703ba6a6569daf435e82118c26
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/docs/docs-rtd.yaml

index 66abc6133e6f6b270492d3508a3d44ec8410cc97..4fb37415b9e203b3eaea90b64a82d40043366a5e 100644 (file)
@@ -51,7 +51,7 @@
                     branch-pattern: '**/{branch}'
                 file-paths:
                     - compare-type: ANT
-                      pattern: docs/**
+                      pattern: docs/**/*.rst
 
     builders:
         - shell: |