diff options
author | Victor Morales <victor.morales@intel.com> | 2018-11-09 17:19:53 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-11-13 16:32:27 -0800 |
commit | c90c90da0ae945e545bedac2ebc5751ca4852021 (patch) | |
tree | be074a934a0da415c01f9e643489a76fd3923d43 /jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml | |
parent | 7c553aa25016978ed54c0659f4005c8153bfed89 (diff) |
Enable ovn4nfv-k8s-plugins project jobs
Change-Id: Ib61a1be6746fc67eddc0766e87837ff5d34cfe34
Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml')
-rw-r--r-- | jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml b/jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml new file mode 100644 index 000000000..dfc3d93cd --- /dev/null +++ b/jjb/ovn4nfv/ovn4nfv-k8s-plugins-project-jobs.yaml @@ -0,0 +1,109 @@ +--- +- project: + name: ovn4nfv-k8s-plugins-project-jobs + + project: 'ovn4nfv-k8s-plugins' + + jobs: + - 'ovn4nfv-k8s-plugins-verify-{stream}' + - 'ovn4nfv-k8s-plugins-merge-{stream}' + + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + +################################ +# job templates +################################ + +- job-template: + name: 'ovn4nfv-k8s-plugins-verify-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - opnfv-build-defaults + + scm: + - git-scm-gerrit + + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + trigger-on: + - patchset-created-event: + exclude-drafts: 'false' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'false' + - draft-published-event + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + + wrappers: + - ssh-agent-wrapper + - timeout: + timeout: 30 + fail: true + + builders: + - ovn4nfv-k8s-plugins-unit-tests-golang + +- job-template: + name: 'ovn4nfv-k8s-plugins-merge-{stream}' + + disabled: '{obj:disabled}' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - opnfv-build-defaults + + scm: + - git-scm + + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + + wrappers: + - ssh-agent-wrapper + - timeout: + timeout: 30 + fail: true + + builders: + - ovn4nfv-k8s-plugins-unit-tests-golang + +################################ +# job builders +################################ + +- builder: + name: ovn4nfv-k8s-plugins-unit-tests-golang + builders: + - shell: | + !include-raw: ./golang-make-test.sh |