summaryrefslogtreecommitdiffstats
path: root/jjb/genesis/genesis-fuel.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-09-08 13:22:51 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-09-08 13:40:55 +0200
commitae677560382e30ef84075d3316229cd429132a4e (patch)
tree7628a38866914b7065fd3c51bcd141b09588fc19 /jjb/genesis/genesis-fuel.yml
parente63050b724710f2e921300ecb060f852881bc07f (diff)
Prevent triggering unnecessary genesis jobs when docs change
Genesis verify and merge jobs run full builds when only doc updates come in. This change adds non-doc paths to the list of excluded paths in gerrit trigger configurations, essentially only running what needs to be run. Please note that if a change touches both allowed and excluded paths, none of the jobs will be triggered. Due to this doc and code changes should not be done in same change. JIRA: RELENG-19 Change-Id: I0388b8fb940aa7581e9afb56ffa04ca3a3763820 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/genesis/genesis-fuel.yml')
-rw-r--r--jjb/genesis/genesis-fuel.yml52
1 files changed, 45 insertions, 7 deletions
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml
index 3fbde0b2b..97a608866 100644
--- a/jjb/genesis/genesis-fuel.yml
+++ b/jjb/genesis/genesis-fuel.yml
@@ -92,9 +92,28 @@
branch-pattern: '**/{branch}'
file-paths:
- compare-type: ANT
- pattern: 'common/**'
+ pattern: 'common/ci/**'
- compare-type: ANT
- pattern: '{installer}/**'
+ 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}/ci/**'
+ - compare-type: ANT
+ pattern: '{installer}/deploy/**'
+ - compare-type: ANT
+ pattern: '{installer}/include/**'
+ - compare-type: ANT
+ pattern: '{installer}/prototypes/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '{installer}/docs/**'
builders:
- 'fuel-build'
@@ -149,13 +168,32 @@
- project-compare-type: 'ANT'
project-pattern: 'genesis'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
file-paths:
- compare-type: ANT
- pattern: 'common/**'
+ pattern: 'common/ci/**'
- compare-type: ANT
- pattern: '{installer}/**'
+ 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}/ci/**'
+ - compare-type: ANT
+ pattern: '{installer}/deploy/**'
+ - compare-type: ANT
+ pattern: '{installer}/include/**'
+ - compare-type: ANT
+ pattern: '{installer}/prototypes/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '{installer}/docs/**'
builders:
- 'fuel-build'
@@ -380,7 +418,7 @@
project-type: freestyle
- disabled: false
+ disabled: true
node: ericsson-build