Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
adding testing builder
[releng.git]
/
jjb
/
ovsnfv
/
ovsnfv.yml
diff --git
a/jjb/ovsnfv/ovsnfv.yml
b/jjb/ovsnfv/ovsnfv.yml
index
d4b41ee
..
dbe0a25
100644
(file)
--- a/
jjb/ovsnfv/ovsnfv.yml
+++ b/
jjb/ovsnfv/ovsnfv.yml
@@
-8,14
+8,13
@@
- 'ovsnfv-merge-{stream}'
- 'ovsnfv-daily-{stream}'
- 'ovsnfv-merge-{stream}'
- 'ovsnfv-daily-{stream}'
-# only master branch is enabled at the moment to keep no of jobs sane
stream:
- master:
stream:
- master:
- branch: '
master
'
+ branch: '
{stream}
'
gs-pathname: ''
gs-pathname: ''
-
#
- brahmaputra:
-
# branch: 'stable/brahmaputra
'
-
# gs-pathname: '/brahmaputra
'
+ - brahmaputra:
+
branch: 'stable/{stream}
'
+
gs-pathname: '/{stream}
'
- job-template:
name: 'ovsnfv-verify-{stream}'
- job-template:
name: 'ovsnfv-verify-{stream}'
@@
-25,7
+24,11
@@
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- - 'intel-us-build-2-defaults'
+ - 'intel-build2-defaults'
+ - string:
+ name: GS_URL
+ default: '$GS_BASE{gs-pathname}'
+ description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- gerrit-trigger-scm:
scm:
- gerrit-trigger-scm:
@@
-51,17
+54,14
@@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'build/**'
+ - compare-type: ANT
+ pattern: 'ci/**'
builders:
builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o nounset
- set -o pipefail
-
- cd $WORKSPACE/ci
- echo "Builds have been disabled."
-# ./build.sh
+ - build-rpms
- job-template:
name: 'ovsnfv-merge-{stream}'
- job-template:
name: 'ovsnfv-merge-{stream}'
@@
-71,7
+71,11
@@
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- - 'intel-us-build-2-defaults'
+ - 'intel-build2-defaults'
+ - string:
+ name: GS_URL
+ default: '$GS_BASE{gs-pathname}'
+ description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- gerrit-trigger-scm:
scm:
- gerrit-trigger-scm:
@@
-79,6
+83,11
@@
refspec: ''
choosing-strategy: 'default'
refspec: ''
choosing-strategy: 'default'
+ wrappers:
+ - timeout:
+ timeout: 24
+ fail: true
+
triggers:
- gerrit:
trigger-on:
triggers:
- gerrit:
trigger-on:
@@
-89,19
+98,16
@@
- project-compare-type: 'ANT'
project-pattern: '{project}'
branches:
- 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:
builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o nounset
- set -o pipefail
-
- cd $WORKSPACE/ci
- echo "Builds have been disabled."
-# ./build.sh
+ - build-rpms
- job-template:
name: 'ovsnfv-daily-{stream}'
- job-template:
name: 'ovsnfv-daily-{stream}'
@@
-109,7
+115,11
@@
parameters:
- project-parameter:
project: '{project}'
parameters:
- project-parameter:
project: '{project}'
- - 'intel-us-build-2-defaults'
+ - 'intel-build2-defaults'
+ - string:
+ name: GS_URL
+ default: '$GS_BASE{gs-pathname}'
+ description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- git-scm:
scm:
- git-scm:
@@
-117,9
+127,23
@@
refspec: ''
branch: '{branch}'
refspec: ''
branch: '{branch}'
+ wrappers:
+ - timeout:
+ timeout: 24
+ fail: true
+
triggers:
- timed: '@midnight'
triggers:
- 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
builders:
- shell: |
#!/bin/bash
@@
-128,5
+152,4
@@
set -o pipefail
cd $WORKSPACE/ci
set -o pipefail
cd $WORKSPACE/ci
- echo "Builds have been disabled."
-# ./build.sh
+ ./build.sh