From 30cc94913fc474420ea7447d839d000672bf9645 Mon Sep 17 00:00:00 2001 From: Lorand Jakab Date: Thu, 30 Apr 2015 22:15:39 +0300 Subject: [PATCH] Activate JDK8 verification for lispflowmapping With https://git.opendaylight.org/gerrit/19367 merged, lispflowmapping now builds with JDK8. Let's make sure it stays that way. Change-Id: I36bf0929fbfb70c29d47e1ed605af803e519d2b3 Signed-off-by: Lorand Jakab --- .../lispflowmapping-verify.yaml | 168 ++++++++++++++++++ jjb/lispflowmapping/lispflowmapping.cfg | 1 + jjb/lispflowmapping/lispflowmapping.yaml | 75 -------- 3 files changed, 169 insertions(+), 75 deletions(-) create mode 100644 jjb/lispflowmapping/lispflowmapping-verify.yaml diff --git a/jjb/lispflowmapping/lispflowmapping-verify.yaml b/jjb/lispflowmapping/lispflowmapping-verify.yaml new file mode 100644 index 000000000..0a051515d --- /dev/null +++ b/jjb/lispflowmapping/lispflowmapping-verify.yaml @@ -0,0 +1,168 @@ +- project: + name: lispflowmapping-verify + jobs: + - 'lispflowmapping-verify-{stream}' + - 'lispflowmapping-verify-stable-helium' + + + # stream: branch with - in place of / (eg. stable-helium) + # branch: branch (eg. stable/helium) + stream: + - master: + branch: 'master' + + project: 'lispflowmapping' + +# For the Job templates below replace instances of: +# PROJECT with your project name (eg. controller) +# MAVEN_GOALS with your maven goals to build +# MAVEN_OPTS with your maven options to build + +- job-template: + name: 'lispflowmapping-verify-{stream}' + + # Job template for ODL verify jobs + # + # The purpose of this job template is to setup a ODL verify job + # + # Required Variables: + # stream: branch with - in place of / (eg. stable-helium) + # branch: branch (eg. stable/helium) + + project-type: matrix + node: matrix_master + concurrent: true + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: + - openjdk7 + - openjdk8 + + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - gerrit-trigger-patch-submitted: + name: 'lispflowmapping' + branch: '{branch}' + + builders: + - wipe-org-opendaylight-repo + - maven-target: + maven-version: '{mvn32}' + pom: 'pom.xml' + goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + java-opts: + - '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{lispflowmapping-settings}' + global-settings: '{odl-global-settings}' + - jacoco-nojava-workaround + + publishers: + - findbugs + - email-notification: + email-prefix: '[lispflowmapping]' + - jacoco-report + +- job-template: + name: 'lispflowmapping-verify-stable-helium' + + # Job template for ODL verify jobs + # + # The purpose of this job template is to setup a ODL verify job + # + # Required Variables: + # stream: branch with - in place of / (eg. stable-helium) + # branch: branch (eg. stable/helium) + + project-type: matrix + node: matrix_master + concurrent: true + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: + - openjdk7 + + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: 'stable/helium' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - gerrit-trigger-patch-submitted: + name: 'lispflowmapping' + branch: 'stable/helium' + + builders: + - wipe-org-opendaylight-repo + - maven-target: + maven-version: '{mvn32}' + pom: 'pom.xml' + goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + java-opts: + - '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{lispflowmapping-settings}' + global-settings: '{odl-global-settings}' + - jacoco-nojava-workaround + + publishers: + - findbugs + - email-notification: + email-prefix: '[lispflowmapping]' + - jacoco-report diff --git a/jjb/lispflowmapping/lispflowmapping.cfg b/jjb/lispflowmapping/lispflowmapping.cfg index 3b28b667a..7220d8598 100644 --- a/jjb/lispflowmapping/lispflowmapping.cfg +++ b/jjb/lispflowmapping/lispflowmapping.cfg @@ -1,3 +1,4 @@ +JOB_TEMPLATES: merge,daily,integration,sonar MVN_GOALS: clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r BRANCHES: master,stable/helium,stable/lithium DEPENDENCIES: controller,odlparent,yangtools,neutron diff --git a/jjb/lispflowmapping/lispflowmapping.yaml b/jjb/lispflowmapping/lispflowmapping.yaml index a06c3d18a..5a76f4734 100644 --- a/jjb/lispflowmapping/lispflowmapping.yaml +++ b/jjb/lispflowmapping/lispflowmapping.yaml @@ -6,7 +6,6 @@ - project: name: lispflowmapping jobs: - - 'lispflowmapping-verify-{stream}' - 'lispflowmapping-merge-{stream}' - 'lispflowmapping-daily-{stream}' - 'lispflowmapping-integration-{stream}' @@ -32,80 +31,6 @@ # MAVEN_GOALS with your maven goals to build # MAVEN_OPTS with your maven options to build -- job-template: - name: 'lispflowmapping-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: - - openjdk7 - - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'lispflowmapping' - branch: '{branch}' - - builders: - - wipe-org-opendaylight-repo - - maven-target: - maven-version: '{mvn32}' - pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{lispflowmapping-settings}' - global-settings: '{odl-global-settings}' - - jacoco-nojava-workaround - - publishers: - - findbugs - - email-notification: - email-prefix: '[lispflowmapping]' - - jacoco-report - - job-template: name: 'lispflowmapping-merge-{stream}' -- 2.36.6