X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fovsnfv%2Fovsnfv.yml;h=0492f96a403e8845a04ae9748822a9ce8f792221;hb=refs%2Fchanges%2F73%2F25773%2F17;hp=8a119d9fbdd3de18228657f869d7ad9addf48e6b;hpb=5691606d1ed8caa57e3001767aab7fe19612d272;p=releng.git diff --git a/jjb/ovsnfv/ovsnfv.yml b/jjb/ovsnfv/ovsnfv.yml index 8a119d9fb..0492f96a4 100644 --- a/jjb/ovsnfv/ovsnfv.yml +++ b/jjb/ovsnfv/ovsnfv.yml @@ -12,32 +12,34 @@ - master: branch: '{stream}' gs-pathname: '' - - brahmaputra: + disabled: false + - colorado: branch: 'stable/{stream}' gs-pathname: '/{stream}' + disabled: false - job-template: name: 'ovsnfv-verify-{stream}' + disabled: '{obj:disabled}' + parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - - 'intel-build2-defaults' + - 'opnfv-build-centos-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: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + - git-scm-gerrit triggers: - gerrit: + server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' @@ -54,39 +56,42 @@ 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}' + disabled: '{obj:disabled}' + parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - - 'intel-build2-defaults' + - 'opnfv-build-centos-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: - credentials-id: '{ssh-credentials}' - refspec: '' - choosing-strategy: 'default' + - git-scm + + wrappers: + - timeout: + timeout: 24 + fail: true triggers: - gerrit: + server-name: 'gerrit.opnfv.org' trigger-on: - change-merged-event - comment-added-contains-event: @@ -95,40 +100,51 @@ - 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}' + disabled: '{obj:disabled}' + parameters: - project-parameter: project: '{project}' - - 'intel-build2-defaults' + - 'opnfv-build-centos-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: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + - git-scm + + wrappers: + - timeout: + timeout: 24 + fail: true 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