Do not run compass build verify if compass docs change 83/1683/4
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 17 Sep 2015 11:10:32 +0000 (13:10 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 17 Sep 2015 12:34:51 +0000 (12:34 +0000)
In order for this to work properly, a change should not contain
updates in docs and other folders.

Change-Id: Ie5aa9246be4636e47fcde476c87aff75c5cda02a
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/compass4nfv/compass4nfv.yml

index 468c062..64936a5 100644 (file)
@@ -85,6 +85,9 @@
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/master'
+                forbidden-file-paths:
+                  - compare-type: ANT
+                    pattern: 'docs/**'
 
     builders:
         - 'compass-build'
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/master'
+                forbidden-file-paths:
+                  - compare-type: ANT
+                    pattern: 'docs/**'
 
     builders:
         - 'compass-build'