Do not run foreman-verify-virtual-deploy if docs change 21/1621/1
authorfdegir <fdegir@gmail.com>
Wed, 16 Sep 2015 09:27:18 +0000 (11:27 +0200)
committerfdegir <fdegir@gmail.com>
Wed, 16 Sep 2015 09:29:03 +0000 (11:29 +0200)
JIRA: RELENG-19

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

index a7fdabf..0fd55ce 100644 (file)
                     branch-pattern: '**/{branch}'
                 file-paths:
                   - compare-type: ANT
-                    pattern: 'common/**'
+                    pattern: 'common/ci/**'
+                  - compare-type: ANT
+                    pattern: 'common/manifests/**'
+                  - compare-type: ANT
+                    pattern: 'common/puppet-opnfv/**'
+                  - compare-type: ANT
+                    pattern: 'common/tools/**'
+                  - compare-type: ANT
+                    pattern: '{installer}/build/**'
                   - compare-type: ANT
-                    pattern: '{installer}/**'
+                    pattern: '{installer}/ci/**'
+                  - compare-type: ANT
+                    pattern: '{installer}/include/**'
+                forbidden-file-paths:
+                  - compare-type: ANT
+                    pattern: 'common/docs/**'
+                  - compare-type: ANT
+                    pattern: '{installer}/docs/**'
             dependency-jobs: 'genesis-foreman-verify-build-{stream}'