X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopflex%2Fopflex-custom.yaml;h=f097117e0c16f41f6f94f3a8c2009b681e865624;hb=6822e9b7cfe5e2e062972ad869b1b3bbb39c01f5;hp=78057b5d006b99a1899ae838d9d4572e6e06264c;hpb=5bae7cd8254aff34e1e3772769b6268ec913b5d6;p=releng%2Fbuilder.git diff --git a/jjb/opflex/opflex-custom.yaml b/jjb/opflex/opflex-custom.yaml index 78057b5d0..f097117e0 100644 --- a/jjb/opflex/opflex-custom.yaml +++ b/jjb/opflex/opflex-custom.yaml @@ -1,23 +1,20 @@ +--- - 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: - - carbon: - branch: 'master' - jdk: openjdk7 - - boron: - branch: 'stable/boron' - jdk: openjdk7 - - beryllium: - branch: 'stable/beryllium' - jdk: openjdk7 + - nitrogen: + branch: 'master' + jdk: openjdk8 + - carbon: + branch: 'stable/carbon' + jdk: openjdk8 + - boron: + branch: 'stable/boron' + jdk: openjdk8 project: 'opflex' archive-artifacts: '**/*.tar.gz' @@ -26,7 +23,7 @@ name: opflex-build builders: - maven-target: - maven-version: '{mvn33}' + maven-version: 'mvn33' pom: genie/pom.xml goals: compile - copyartifact: @@ -38,9 +35,7 @@ - copyartifact: project: opflex-openvswitch_tgz-{stream} flatten: true - - shell: - !include-raw-escape: - - include-raw-opflex-build.sh + - shell: !include-raw-escape: opflex-build.sh - job-template: name: 'opflex-verify-{stream}' @@ -50,43 +45,44 @@ concurrent: true 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: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + - opendaylight-infra-parameters: + os-cloud: '{os-cloud}' + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-submitted: - name: 'opflex' - branch: '{branch}' + - gerrit-trigger-patch-submitted: + server: '{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]' - - archive-build: - maven-version: '{mvn33}' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[opflex]' + - lf-infra-publish - job-template: name: 'opflex-merge-{stream}' @@ -94,40 +90,40 @@ node: centos7-java-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: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + - opendaylight-infra-parameters: + os-cloud: '{os-cloud}' + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: - name: 'opflex' - branch: '{branch}' + - gerrit-trigger-patch-merged: + server-name: '{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-build: - maven-version: '{mvn33}' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[opflex]' + - lf-infra-publish