summaryrefslogtreecommitdiffstats
path: root/jjb/ovsnfv
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2016-05-10 14:09:46 +0100
committerBilly O'Mahony <billy.o.mahony@intel.com>2016-05-11 10:21:27 +0100
commit03257b19a87b9ec0fd5602e239a5123b41117594 (patch)
tree43052080ee93320b45446cbdd3aabef93b40d8e4 /jjb/ovsnfv
parentaccf6fb545a8c406cc5cb3f6c6f502d7419fb7b9 (diff)
ovsnfv: Remove some paths from gerrit ci
The current ci/build.sh script in ovsnfv only verifies changes to some paths. For paths that it does not check do not run the ci. It is planned to cover the currently unverified paths with a separate ci script. Change-Id: I62071b8c9697e3c6fcb3f6d63e2c00404f3c5594 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com>
Diffstat (limited to 'jjb/ovsnfv')
-rw-r--r--jjb/ovsnfv/ovsnfv.yml45
1 files changed, 23 insertions, 22 deletions
diff --git a/jjb/ovsnfv/ovsnfv.yml b/jjb/ovsnfv/ovsnfv.yml
index 6f6d29012..dbe0a25fa 100644
--- a/jjb/ovsnfv/ovsnfv.yml
+++ b/jjb/ovsnfv/ovsnfv.yml
@@ -54,16 +54,14 @@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'build/**'
+ - compare-type: ANT
+ pattern: 'ci/**'
builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o nounset
- set -o pipefail
-
- cd $WORKSPACE/ci
- ./build.sh
+ - build-rpms
- job-template:
name: 'ovsnfv-merge-{stream}'
@@ -100,18 +98,16 @@
- project-compare-type: 'ANT'
project-pattern: '{project}'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'build/**'
+ - compare-type: ANT
+ pattern: 'ci/**'
builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o nounset
- set -o pipefail
-
- cd $WORKSPACE/ci
- ./build.sh
+ - build-rpms
- job-template:
name: 'ovsnfv-daily-{stream}'
@@ -140,6 +136,15 @@
- timed: '@midnight'
builders:
+ - build-rpms
+
+ publishers:
+ - email:
+ recipients: therbert@redhat.com mark.d.gray@intel.com billy.o.mahony@intel.com
+
+- builder:
+ name: build-rpms
+ builders:
- shell: |
#!/bin/bash
set -o errexit
@@ -148,7 +153,3 @@
cd $WORKSPACE/ci
./build.sh
-
- publishers:
- - email:
- recipients: therbert@redhat.com mark.d.gray@intel.com billy.o.mahony@intel.com