summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2015-09-15 21:03:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-09-15 21:03:11 +0000
commit6a742f4d0db59d7e73f98f1a50bb9d7b88f3a5dc (patch)
treeb9f4ddfe3b008dbbaa8c6e01ee26d5625382563e /jjb
parenta4b4db1dfe160d0ca0490abacdfc677f59fec6fe (diff)
parentae677560382e30ef84075d3316229cd429132a4e (diff)
Merge "Prevent triggering unnecessary genesis jobs when docs change"
Diffstat (limited to 'jjb')
-rw-r--r--jjb/genesis/genesis-docs.yml32
-rw-r--r--jjb/genesis/genesis-foreman.yml42
-rw-r--r--jjb/genesis/genesis-fuel.yml52
3 files changed, 113 insertions, 13 deletions
diff --git a/jjb/genesis/genesis-docs.yml b/jjb/genesis/genesis-docs.yml
index 6fead13d9..e95b97c92 100644
--- a/jjb/genesis/genesis-docs.yml
+++ b/jjb/genesis/genesis-docs.yml
@@ -59,6 +59,22 @@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '**/docs/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: '**/build/**'
+ - compare-type: ANT
+ pattern: '**/ci/**'
+ - compare-type: ANT
+ pattern: '**/deploy/**'
+ - compare-type: ANT
+ pattern: '**/include/**'
+ - compare-type: ANT
+ pattern: '**/prototypes/**'
builders:
- shell:
@@ -112,6 +128,22 @@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '**/docs/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: '**/build/**'
+ - compare-type: ANT
+ pattern: '**/ci/**'
+ - compare-type: ANT
+ pattern: '**/deploy/**'
+ - compare-type: ANT
+ pattern: '**/include/**'
+ - compare-type: ANT
+ pattern: '**/prototypes/**'
builders:
- shell:
diff --git a/jjb/genesis/genesis-foreman.yml b/jjb/genesis/genesis-foreman.yml
index 2c6f06c2c..a7fdabf26 100644
--- a/jjb/genesis/genesis-foreman.yml
+++ b/jjb/genesis/genesis-foreman.yml
@@ -90,9 +90,24 @@
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}/include/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '{installer}/docs/**'
builders:
- 'foreman-build'
@@ -146,13 +161,28 @@
- 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}/include/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'common/docs/**'
+ - compare-type: ANT
+ pattern: '{installer}/docs/**'
builders:
- 'foreman-build'
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml
index 3cb71f54a..405fbc0ad 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'
@@ -388,7 +426,7 @@
project-type: freestyle
- disabled: false
+ disabled: true
node: ericsson-build