X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopflex%2Fopflex-custom.yaml;h=94b69ef54d7f36fbbcc0bd492a954b8c419fca99;hb=d74d11086efae7deeeb7e8c37bf6dc287ee07e85;hp=ee676cf3de7f6a709eef80e7570cc37c7b7e2fe2;hpb=7ab38774cc70d890273f50da2f3975368cffc2ca;p=releng%2Fbuilder.git diff --git a/jjb/opflex/opflex-custom.yaml b/jjb/opflex/opflex-custom.yaml index ee676cf3d..94b69ef54 100644 --- a/jjb/opflex/opflex-custom.yaml +++ b/jjb/opflex/opflex-custom.yaml @@ -1,146 +1,148 @@ +--- - project: name: opflex jobs: - - 'opflex-verify-{stream}' - - 'opflex-merge-{stream}' -# - 'opflex-daily-{stream}' -# - 'opflex-distribution-{stream}' + - 'opflex-verify-{stream}' + - 'opflex-merge-{stream}' - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) stream: - - boron: - branch: 'master' - jdk: openjdk7 - jdks: - - openjdk7 - - beryllium: - branch: 'stable/beryllium' - jdk: openjdk7 - jdks: - - openjdk7 + - oxygen: + branch: 'master' + libuv-version: '1.8.0' + rapidjson-version: '1.0.2' + openvswitch-version: '2.6.0' + - nitrogen: + branch: 'stable/nitrogen' + libuv-version: '1.8.0' + rapidjson-version: '1.0.2' + openvswitch-version: '2.6.0' + - carbon: + branch: 'stable/carbon' + libuv-version: '1.8.0' + rapidjson-version: '1.0.2' + openvswitch-version: '2.6.0' project: 'opflex' - -- builder: - name: opflex-build - builders: - - maven-target: - maven-version: '{mvn33}' - pom: genie/pom.xml - goals: compile - - copyartifact: - project: opflex-libuv_tgz-{stream} - flatten: true - - copyartifact: - project: opflex-rapidjson_tgz-{stream} - flatten: true - - copyartifact: - project: opflex-openvswitch_tgz-{stream} - flatten: true - - shell: - !include-raw-escape: - - include-raw-opflex-build.sh + archive-artifacts: '**/*.tar.gz' + jdk: 'openjdk8' - job-template: name: 'opflex-verify-{stream}' - project-type: matrix - node: matrix_master + project-type: freestyle + node: centos7-builder-2c-8g concurrent: true + jdk: '{jdk}' - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - gerrit-refspec-parameter: - refspec: '' + - opendaylight-infra-parameters: + os-cloud: '{os-cloud}' + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - string: + name: LIBUV_VERSION + # yamllint disable-line rule:line-length + default: '{libuv-version}' + description: 'libuv version' + - string: + name: RAPIDJSON_VERSION + # yamllint disable-line rule:line-length + default: '{rapidjson-version}' + description: 'rapidjson version' + - string: + name: OPENVSWITCH_VERSION + # yamllint disable-line rule:line-length + default: '{openvswitch-version}' + description: 'openvswitch-version' scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-submitted: - name: 'opflex' - branch: '{branch}' + - gerrit-trigger-patch-submitted: + gerrit-server-name: '{gerrit-server-name}' + project: '{project}' + branch: '{branch}' + files: '**' builders: - - opflex-build: - mvn33: '{mvn33}' - stream: '{stream}' + - opflex-build: + mvn33: 'mvn33' + stream: '{stream}' publishers: - - email-notification: - email-prefix: '[opflex]' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[opflex]' + - lf-infra-publish - job-template: name: 'opflex-merge-{stream}' - node: dynamic_merge + node: centos7-builder-2c-8g jdk: '{jdk}' - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' + - opendaylight-infra-parameters: + os-cloud: '{os-cloud}' + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '' + - string: + name: LIBUV_VERSION + # yamllint disable-line rule:line-length + default: '{libuv-version}' + description: 'libuv version' + - string: + name: RAPIDJSON_VERSION + # yamllint disable-line rule:line-length + default: '{rapidjson-version}' + description: 'rapidjson version' + - string: + name: OPENVSWITCH_VERSION + # yamllint disable-line rule:line-length + default: '{openvswitch-version}' + description: 'openvswitch version' scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - choosing-strategy: 'default' + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: - name: 'opflex' - branch: '{branch}' + - gerrit-trigger-patch-merged: + gerrit-server-name: '{gerrit-server-name}' + name: 'opflex' + branch: '{branch}' builders: - - opflex-build: - mvn33: '{mvn33}' - stream: '{stream}' + - opflex-build: + mvn33: 'mvn33' + stream: '{stream}' publishers: - - email-notification: - email-prefix: '[opflex]' - - archive: - artifacts: '**/*.tar.gz' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[opflex]' + - lf-infra-publish