From c5d6891f1a9587a4bbeae8f0b34c02f2a9b64757 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 9 Jul 2016 11:43:13 -0400 Subject: [PATCH] Convert merge|verify|sonar job to regular jjb template These are the final JJB templates using custom scripting. Removing these will allow us to finally eliminate the custom scripting we've been using in ODL for JJB. Change-Id: If28fd24470131e8c1507e978c66ea0538e95d2fb Signed-off-by: Thanh Ha --- jjb-templates/merge.yaml | 109 ------- jjb-templates/project.yaml | 15 +- jjb-templates/sonar.yaml | 63 ---- jjb-templates/verify.yaml | 73 ----- jjb/aaa/aaa.yaml | 268 +---------------- jjb/alto/alto.yaml | 268 +---------------- jjb/armoury/armoury.yaml | 268 +---------------- jjb/atrium/atrium.yaml | 268 +---------------- jjb/bgpcep/bgpcep.yaml | 268 +---------------- jjb/capwap/capwap.yaml | 268 +---------------- jjb/cardinal/cardinal.yaml | 268 +---------------- jjb/centinel/centinel.yaml | 268 +---------------- jjb/controller/controller.yaml | 268 +---------------- jjb/coretutorials/coretutorials.yaml | 268 +---------------- jjb/didm/didm.yaml | 268 +---------------- jjb/discovery/discovery.yaml | 268 +---------------- jjb/dlux/dlux.yaml | 268 +---------------- jjb/docs/docs.yaml | 268 +---------------- jjb/faas/faas.yaml | 268 +---------------- jjb/genius/genius.yaml | 268 +---------------- jjb/groupbasedpolicy/groupbasedpolicy.yaml | 268 +---------------- jjb/honeycomb/vbd/vbd.yaml | 268 +---------------- jjb/infrautils/infrautils.yaml | 268 +---------------- .../distribution/distribution.yaml | 83 +----- jjb/iotdm/iotdm.yaml | 268 +---------------- jjb/l2switch/l2switch.yaml | 268 +---------------- jjb/lacp/lacp.yaml | 268 +---------------- jjb/lispflowmapping/lispflowmapping.yaml | 268 +---------------- jjb/mdsal/mdsal.yaml | 268 +---------------- .../messaging4transport.yaml | 268 +---------------- jjb/natapp/natapp.yaml | 268 +---------------- jjb/nemo/nemo.yaml | 268 +---------------- jjb/netconf/netconf.yaml | 268 +---------------- jjb/netide/netide.yaml | 268 +---------------- jjb/netvirt/netvirt-custom.yaml | 20 -- jjb/netvirt/netvirt.cfg | 2 +- jjb/netvirt/netvirt.yaml | 210 +------------- jjb/neutron/neutron.yaml | 268 +---------------- jjb/next/next.yaml | 268 +---------------- jjb/nic/nic.yaml | 268 +---------------- jjb/ocpplugin/ocpplugin.yaml | 268 +---------------- jjb/odlparent/odlparent.yaml | 268 +---------------- jjb/of-config/of-config.yaml | 268 +---------------- jjb/ofextensions/circuitsw/circuitsw.yaml | 268 +---------------- jjb/openflowjava/openflowjava.yaml | 268 +---------------- jjb/openflowplugin/openflowplugin.yaml | 268 +---------------- jjb/ovsdb/ovsdb.cfg | 2 +- jjb/ovsdb/ovsdb.yaml | 203 +------------ jjb/packetcable/packetcable.yaml | 268 +---------------- jjb/persistence/persistence.yaml | 268 +---------------- jjb/releng-templates-java.yaml | 245 +++++++++++++++- jjb/reservation/reservation.yaml | 268 +---------------- jjb/sdninterfaceapp/sdninterfaceapp.yaml | 268 +---------------- jjb/sfc/sfc.yaml | 268 +---------------- jjb/snbi/snbi.yaml | 268 +---------------- jjb/snmp/snmp.yaml | 268 +---------------- jjb/snmp4sdn/snmp4sdn.yaml | 268 +---------------- jjb/sxp/sxp.yaml | 268 +---------------- jjb/tcpmd5/tcpmd5.yaml | 268 +---------------- jjb/toolkit/toolkit.yaml | 268 +---------------- jjb/topoprocessing/topoprocessing.yaml | 268 +---------------- jjb/tsdr/tsdr.yaml | 268 +---------------- jjb/ttp/ttp.yaml | 268 +---------------- jjb/unimgr/unimgr.yaml | 268 +---------------- jjb/usc/usc.yaml | 268 +---------------- jjb/usecplugin/usecplugin.yaml | 268 +---------------- jjb/vpnservice/vpnservice.yaml | 268 +---------------- jjb/vtn/vtn.yaml | 269 +----------------- jjb/yang-push/yang-push.yaml | 268 +---------------- jjb/yangide/yangide.yaml | 268 +---------------- jjb/yangtools/yangtools.cfg | 1 - jjb/yangtools/yangtools.yaml | 192 +------------ scripts/jjb-init-project.py | 9 +- 73 files changed, 505 insertions(+), 16535 deletions(-) delete mode 100644 jjb-templates/merge.yaml delete mode 100644 jjb-templates/sonar.yaml delete mode 100644 jjb-templates/verify.yaml delete mode 100644 jjb/netvirt/netvirt-custom.yaml diff --git a/jjb-templates/merge.yaml b/jjb-templates/merge.yaml deleted file mode 100644 index b9974501a..000000000 --- a/jjb-templates/merge.yaml +++ /dev/null @@ -1,109 +0,0 @@ -- job-template: - name: 'PROJECT_SHORTNAME-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'PROJECT_PATH' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'JENKINS_SETTINGS' - - maven: - maven-name: '{mvn33}' - root-pom: 'POM' - goals: 'MAVEN_GOALS -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: 'MAVEN_OPTS' - settings: 'JENKINS_SETTINGS' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'JENKINS_SETTINGS' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'JENKINS_SETTINGS' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - ARCHIVE_ARTIFACTS - - email-notification: - email-prefix: '[PROJECT_SHORTNAME]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' diff --git a/jjb-templates/project.yaml b/jjb-templates/project.yaml index 1c70c870d..a77fd1e5d 100644 --- a/jjb-templates/project.yaml +++ b/jjb-templates/project.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: PROJECT_SHORTNAME @@ -10,9 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' -JOB_TEMPLATES + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -23,9 +21,4 @@ JOB_TEMPLATES mvn-opts: 'MAVEN_OPTS' dependencies: 'DEPENDENCIES' email-upstream: 'EMAIL_PREFIX' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build + archive-artifacts: 'ARCHIVE_ARTIFACTS' diff --git a/jjb-templates/sonar.yaml b/jjb-templates/sonar.yaml deleted file mode 100644 index 4223ebd68..000000000 --- a/jjb-templates/sonar.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- job-template: - name: 'PROJECT_SHORTNAME-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'SONAR_BRANCH' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'PROJECT_PATH' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'JENKINS_SETTINGS' - - maven: - maven-name: '{mvn33}' - root-pom: 'POM' - goals: 'MAVEN_GOALS -V -B -Djenkins -Dsonar' - maven-opts: 'MAVEN_OPTS' - settings: 'JENKINS_SETTINGS' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[PROJECT_SHORTNAME]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' diff --git a/jjb-templates/verify.yaml b/jjb-templates/verify.yaml deleted file mode 100644 index 3e1c5a903..000000000 --- a/jjb-templates/verify.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- job-template: - name: 'PROJECT_SHORTNAME-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'PROJECT_PATH' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'JENKINS_SETTINGS' - - maven-target: - maven-version: '{mvn33}' - pom: 'POM' - goals: 'MAVEN_GOALS -V -B -Djenkins -Dstream={stream}' - java-opts: - - 'MAVEN_OPTS' - settings: 'JENKINS_SETTINGS' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - ARCHIVE_ARTIFACTS - - findbugs - - email-notification: - email-prefix: '[PROJECT_SHORTNAME]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' diff --git a/jjb/aaa/aaa.yaml b/jjb/aaa/aaa.yaml index 72b9c73dc..86fb09c39 100644 --- a/jjb/aaa/aaa.yaml +++ b/jjb/aaa/aaa.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: aaa @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'aaa-verify-{stream}' - - 'aaa-merge-{stream}' - - 'aaa-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' email-upstream: '[aaa] [odlparent] [yangtools] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'aaa-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'aaa' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'aaa-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'aaa-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'aaa' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'aaa-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[aaa]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'aaa-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'aaa' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'aaa-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/alto/alto.yaml b/jjb/alto/alto.yaml index ccb6552f3..e1db8de96 100644 --- a/jjb/alto/alto.yaml +++ b/jjb/alto/alto.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: alto @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'alto-verify-{stream}' - - 'alto-merge-{stream}' - - 'alto-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},l2switch-merge-{stream}' email-upstream: '[alto] [controller] [yangtools] [odlparent] [l2switch]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'alto-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'alto' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'alto-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[alto]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'alto-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'alto' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'alto-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[alto]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'alto-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'alto' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'alto-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[alto]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/armoury/armoury.yaml b/jjb/armoury/armoury.yaml index e94caed62..000c83743 100644 --- a/jjb/armoury/armoury.yaml +++ b/jjb/armoury/armoury.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: armoury @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'armoury-verify-{stream}' - - 'armoury-merge-{stream}' - - 'armoury-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -43,260 +38,5 @@ mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}' email-upstream: '[armoury] [odlparent] [yangtools] [controller] [mdsal]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'armoury-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'armoury' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'armoury-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[armoury]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'armoury-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'armoury' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'armoury-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[armoury]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'armoury-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'armoury' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'armoury-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[armoury]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/atrium/atrium.yaml b/jjb/atrium/atrium.yaml index 541215754..9b5787ec1 100644 --- a/jjb/atrium/atrium.yaml +++ b/jjb/atrium/atrium.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: atrium @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'atrium-verify-{stream}' - - 'atrium-merge-{stream}' - - 'atrium-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}' email-upstream: '[atrium] [odlparent] [yangtools] [controller] [mdsal]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'atrium-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'atrium' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'atrium-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[atrium]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'atrium-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'atrium' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'atrium-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[atrium]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'atrium-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'atrium' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'atrium-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[atrium]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/bgpcep/bgpcep.yaml b/jjb/bgpcep/bgpcep.yaml index b3d0ebd3e..7f68bd352 100644 --- a/jjb/bgpcep/bgpcep.yaml +++ b/jjb/bgpcep/bgpcep.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: bgpcep @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'bgpcep-verify-{stream}' - - 'bgpcep-merge-{stream}' - - 'bgpcep-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream},tcpmd5-merge-{stream}' email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'bgpcep-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'bgpcep' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'bgpcep-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[bgpcep]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'bgpcep-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'bgpcep' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'bgpcep-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[bgpcep]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'bgpcep-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'bgpcep' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'bgpcep-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[bgpcep]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/capwap/capwap.yaml b/jjb/capwap/capwap.yaml index 8a71de4e8..dc1c70dc0 100644 --- a/jjb/capwap/capwap.yaml +++ b/jjb/capwap/capwap.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: capwap @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'capwap-verify-{stream}' - - 'capwap-merge-{stream}' - - 'capwap-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' email-upstream: '[capwap] [controller] [yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'capwap-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'capwap' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'capwap-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[capwap]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'capwap-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'capwap' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'capwap-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[capwap]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'capwap-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'capwap' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'capwap-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[capwap]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/cardinal/cardinal.yaml b/jjb/cardinal/cardinal.yaml index d06d13c8f..c52c68727 100644 --- a/jjb/cardinal/cardinal.yaml +++ b/jjb/cardinal/cardinal.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: cardinal @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'cardinal-verify-{stream}' - - 'cardinal-merge-{stream}' - - 'cardinal-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},iotdm-merge-{stream},sfc-merge-{stream}' email-upstream: '[cardinal] [controller] [yangtools] [odlparent] [openflowplugin] [iotdm] [sfc]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'cardinal-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'cardinal' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'cardinal-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[cardinal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'cardinal-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'cardinal' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'cardinal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[cardinal]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'cardinal-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'cardinal' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'cardinal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[cardinal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/centinel/centinel.yaml b/jjb/centinel/centinel.yaml index c7b08cece..64baa51a9 100644 --- a/jjb/centinel/centinel.yaml +++ b/jjb/centinel/centinel.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: centinel @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'centinel-verify-{stream}' - - 'centinel-merge-{stream}' - - 'centinel-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[centinel] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'centinel-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'centinel' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'centinel-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[centinel]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'centinel-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'centinel' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'centinel-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[centinel]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'centinel-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'centinel' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'centinel-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[centinel]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/controller/controller.yaml b/jjb/controller/controller.yaml index 0ad2ee080..4897e51eb 100644 --- a/jjb/controller/controller.yaml +++ b/jjb/controller/controller.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: controller @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'controller-verify-{stream}' - - 'controller-merge-{stream}' - - 'controller-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}' email-upstream: '[controller] [odlparent] [yangtools] [aaa]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'controller-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'controller' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'controller-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'controller-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'controller' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'controller-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[controller]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'controller-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'controller' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'controller-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/coretutorials/coretutorials.yaml b/jjb/coretutorials/coretutorials.yaml index 915975cb9..5bb28065e 100644 --- a/jjb/coretutorials/coretutorials.yaml +++ b/jjb/coretutorials/coretutorials.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: coretutorials @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'coretutorials-verify-{stream}' - - 'coretutorials-merge-{stream}' - - 'coretutorials-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -48,260 +43,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' email-upstream: '[coretutorials] [odlparent] [yangtools] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'coretutorials-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'coretutorials' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'coretutorials-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[coretutorials]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'coretutorials-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'coretutorials' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'coretutorials-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[coretutorials]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'coretutorials-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'coretutorials' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'coretutorials-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[coretutorials]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/didm/didm.yaml b/jjb/didm/didm.yaml index a76fcaf96..039a1540a 100644 --- a/jjb/didm/didm.yaml +++ b/jjb/didm/didm.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: didm @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'didm-verify-{stream}' - - 'didm-merge-{stream}' - - 'didm-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[didm] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'didm-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'didm' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'didm-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[didm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'didm-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'didm' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'didm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[didm]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'didm-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'didm' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'didm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[didm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/discovery/discovery.yaml b/jjb/discovery/discovery.yaml index de618c09d..25d864ad1 100644 --- a/jjb/discovery/discovery.yaml +++ b/jjb/discovery/discovery.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: discovery @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'discovery-verify-{stream}' - - 'discovery-merge-{stream}' - - 'discovery-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -41,260 +36,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[discovery] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'discovery-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'discovery' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'discovery-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[discovery]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'discovery-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'discovery' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'discovery-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[discovery]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'discovery-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'discovery' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'discovery-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[discovery]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/dlux/dlux.yaml b/jjb/dlux/dlux.yaml index 58c07a53f..00c347a67 100644 --- a/jjb/dlux/dlux.yaml +++ b/jjb/dlux/dlux.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: dlux @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'dlux-verify-{stream}' - - 'dlux-merge-{stream}' - - 'dlux-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[dlux] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'dlux-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'dlux' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'dlux-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[dlux]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'dlux-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'dlux' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'dlux-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[dlux]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'dlux-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'dlux' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'dlux-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[dlux]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/docs/docs.yaml b/jjb/docs/docs.yaml index 7d151c8f6..649e33f76 100644 --- a/jjb/docs/docs.yaml +++ b/jjb/docs/docs.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: docs @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'docs-verify-{stream}' - - 'docs-merge-{stream}' - - 'docs-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[docs] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'docs-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'docs' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'docs-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[docs]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'docs-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'docs' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'docs-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[docs]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'docs-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'docs' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'docs-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[docs]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/faas/faas.yaml b/jjb/faas/faas.yaml index 2032e7b40..4c068dcd0 100644 --- a/jjb/faas/faas.yaml +++ b/jjb/faas/faas.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: faas @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'faas-verify-{stream}' - - 'faas-merge-{stream}' - - 'faas-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' email-upstream: '[faas] [controller] [yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'faas-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'faas' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'faas-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[faas]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'faas-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'faas' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'faas-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[faas]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'faas-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'faas' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'faas-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[faas]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/genius/genius.yaml b/jjb/genius/genius.yaml index d1de85b67..6660d50b5 100644 --- a/jjb/genius/genius.yaml +++ b/jjb/genius/genius.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: genius @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'genius-verify-{stream}' - - 'genius-merge-{stream}' - - 'genius-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}' email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'genius-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'genius' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'genius-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[genius]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'genius-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'genius' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'genius-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[genius]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'genius-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'genius' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'genius-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[genius]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/groupbasedpolicy/groupbasedpolicy.yaml b/jjb/groupbasedpolicy/groupbasedpolicy.yaml index fc2a5dd68..e3a7aac8b 100644 --- a/jjb/groupbasedpolicy/groupbasedpolicy.yaml +++ b/jjb/groupbasedpolicy/groupbasedpolicy.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: groupbasedpolicy @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'groupbasedpolicy-verify-{stream}' - - 'groupbasedpolicy-merge-{stream}' - - 'groupbasedpolicy-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream},sfc-merge-{stream},ovsdb-merge-{stream}' email-upstream: '[groupbasedpolicy] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'groupbasedpolicy-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'groupbasedpolicy' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'groupbasedpolicy-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-U clean install findbugs:findbugs -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[groupbasedpolicy]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'groupbasedpolicy-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'groupbasedpolicy' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'groupbasedpolicy-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-U clean install findbugs:findbugs -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[groupbasedpolicy]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'groupbasedpolicy-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'groupbasedpolicy' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'groupbasedpolicy-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-U clean install findbugs:findbugs -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[groupbasedpolicy]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/honeycomb/vbd/vbd.yaml b/jjb/honeycomb/vbd/vbd.yaml index 7138d7fc8..adfe39e30 100644 --- a/jjb/honeycomb/vbd/vbd.yaml +++ b/jjb/honeycomb/vbd/vbd.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: vbd @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'vbd-verify-{stream}' - - 'vbd-merge-{stream}' - - 'vbd-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream},netconf-merge-{stream}' email-upstream: '[vbd] [odlparent] [yangtools] [controller] [mdsal] [netconf]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'vbd-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'honeycomb/vbd' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'honeycomb-vbd-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[vbd]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vbd-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'honeycomb/vbd' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'honeycomb-vbd-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[vbd]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vbd-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'honeycomb/vbd' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'honeycomb-vbd-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[vbd]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/infrautils/infrautils.yaml b/jjb/infrautils/infrautils.yaml index 526e66ccd..6b2c93278 100644 --- a/jjb/infrautils/infrautils.yaml +++ b/jjb/infrautils/infrautils.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: infrautils @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'infrautils-verify-{stream}' - - 'infrautils-merge-{stream}' - - 'infrautils-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[infrautils] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'infrautils-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'infrautils' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'infrautils-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[infrautils]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'infrautils-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'infrautils' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'infrautils-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[infrautils]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'infrautils-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'infrautils' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'infrautils-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[infrautils]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/integration/distribution/distribution.yaml b/jjb/integration/distribution/distribution.yaml index 71f166ff2..ecc0c6b49 100644 --- a/jjb/integration/distribution/distribution.yaml +++ b/jjb/integration/distribution/distribution.yaml @@ -1,19 +1,10 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: distribution jobs: - '{name}-clm-{stream}' - - '{name}-distribution-{stream}' - - '{name}-distribution-check-{stream}' - - '{name}-integration-{stream}' - - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'distribution-sonar' - # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -40,74 +31,4 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[distribution] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'distribution-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'integration/distribution' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'integration-distribution-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[distribution]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - + archive-artifacts: '' diff --git a/jjb/iotdm/iotdm.yaml b/jjb/iotdm/iotdm.yaml index 433a88bf4..c099d6adb 100644 --- a/jjb/iotdm/iotdm.yaml +++ b/jjb/iotdm/iotdm.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: iotdm @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'iotdm-verify-{stream}' - - 'iotdm-merge-{stream}' - - 'iotdm-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}' email-upstream: '[iotdm] [controller] [yangtools] [odlparent] [aaa]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'iotdm-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'iotdm' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'iotdm-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[iotdm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'iotdm-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'iotdm' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'iotdm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[iotdm]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'iotdm-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'iotdm' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'iotdm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[iotdm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/l2switch/l2switch.yaml b/jjb/l2switch/l2switch.yaml index 603ecdf9f..3e127c238 100644 --- a/jjb/l2switch/l2switch.yaml +++ b/jjb/l2switch/l2switch.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: l2switch @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'l2switch-verify-{stream}' - - 'l2switch-merge-{stream}' - - 'l2switch-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream}' email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'l2switch-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'l2switch' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'l2switch-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[l2switch]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'l2switch-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'l2switch' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'l2switch-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[l2switch]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'l2switch-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'l2switch' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'l2switch-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[l2switch]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/lacp/lacp.yaml b/jjb/lacp/lacp.yaml index e8387f947..a82b454f7 100644 --- a/jjb/lacp/lacp.yaml +++ b/jjb/lacp/lacp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: lacp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'lacp-verify-{stream}' - - 'lacp-merge-{stream}' - - 'lacp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},odlparent-merge-{stream}' email-upstream: '[lacp] [yangtools] [controller] [openflowjava] [openflowplugin] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'lacp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'lacp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lacp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[lacp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lacp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'lacp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lacp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[lacp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lacp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'lacp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lacp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[lacp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/lispflowmapping/lispflowmapping.yaml b/jjb/lispflowmapping/lispflowmapping.yaml index 3cbf00bf5..c8c7f4e6a 100644 --- a/jjb/lispflowmapping/lispflowmapping.yaml +++ b/jjb/lispflowmapping/lispflowmapping.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: lispflowmapping @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'lispflowmapping-verify-{stream}' - - 'lispflowmapping-merge-{stream}' - - 'lispflowmapping-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true' dependencies: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-merge-{stream}' email-upstream: '[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# 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: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'lispflowmapping' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lispflowmapping-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install findbugs:findbugs javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[lispflowmapping]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lispflowmapping-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'lispflowmapping' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lispflowmapping-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install findbugs:findbugs javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[lispflowmapping]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lispflowmapping-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'lispflowmapping' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lispflowmapping-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install findbugs:findbugs javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[lispflowmapping]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/mdsal/mdsal.yaml b/jjb/mdsal/mdsal.yaml index 6e32b4a80..900cc8076 100644 --- a/jjb/mdsal/mdsal.yaml +++ b/jjb/mdsal/mdsal.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: mdsal @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'mdsal-verify-{stream}' - - 'mdsal-merge-{stream}' - - 'mdsal-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}' email-upstream: '[mdsal] [odlparent] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'mdsal-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'mdsal' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'mdsal' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[mdsal]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'mdsal' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/messaging4transport/messaging4transport.yaml b/jjb/messaging4transport/messaging4transport.yaml index 6d08bc142..07d332978 100644 --- a/jjb/messaging4transport/messaging4transport.yaml +++ b/jjb/messaging4transport/messaging4transport.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: messaging4transport @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'messaging4transport-verify-{stream}' - - 'messaging4transport-merge-{stream}' - - 'messaging4transport-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'yangtools-merge-{stream},aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream}' email-upstream: '[messaging4transport] [yangtools] [aaa] [controller] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'messaging4transport-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'messaging4transport' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'messaging4transport-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[messaging4transport]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'messaging4transport-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'messaging4transport' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'messaging4transport-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[messaging4transport]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'messaging4transport-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'messaging4transport' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'messaging4transport-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[messaging4transport]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/natapp/natapp.yaml b/jjb/natapp/natapp.yaml index fe6348c89..a9de720fe 100644 --- a/jjb/natapp/natapp.yaml +++ b/jjb/natapp/natapp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: natapp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'natapp-verify-{stream}' - - 'natapp-merge-{stream}' - - 'natapp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream}' email-upstream: '[natapp] [controller] [yangtools] [odlparent] [openflowplugin]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'natapp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'natapp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'natapp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[natapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'natapp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'natapp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'natapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[natapp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'natapp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'natapp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'natapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[natapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/nemo/nemo.yaml b/jjb/nemo/nemo.yaml index 2564dc53f..375af502e 100644 --- a/jjb/nemo/nemo.yaml +++ b/jjb/nemo/nemo.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: nemo @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'nemo-verify-{stream}' - - 'nemo-merge-{stream}' - - 'nemo-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' email-upstream: '[nemo] [controller] [yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'nemo-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'nemo' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nemo-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[nemo]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nemo-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'nemo' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nemo-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[nemo]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nemo-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'nemo' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nemo-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[nemo]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/netconf/netconf.yaml b/jjb/netconf/netconf.yaml index c7d406a1a..1330226b7 100644 --- a/jjb/netconf/netconf.yaml +++ b/jjb/netconf/netconf.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: netconf @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'netconf-verify-{stream}' - - 'netconf-merge-{stream}' - - 'netconf-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' dependencies: 'aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}' email-upstream: '[netconf] [aaa] [controller] [odlparent] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'netconf-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'netconf' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netconf-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[netconf]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netconf-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'netconf' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netconf-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[netconf]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netconf-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'netconf' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netconf-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[netconf]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/netide/netide.yaml b/jjb/netide/netide.yaml index f919c0988..15c3fc969 100644 --- a/jjb/netide/netide.yaml +++ b/jjb/netide/netide.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: netide @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'netide-verify-{stream}' - - 'netide-merge-{stream}' - - 'netide-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}' email-upstream: '[netide] [odlparent] [yangtools] [controller] [openflowjava]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'netide-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'netide' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netide-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[netide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netide-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'netide' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[netide]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netide-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'netide' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[netide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/netvirt/netvirt-custom.yaml b/jjb/netvirt/netvirt-custom.yaml deleted file mode 100644 index 99fe6534c..000000000 --- a/jjb/netvirt/netvirt-custom.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - -# ODL Releng build templates -- project: - name: netvirt-verify-custom - jobs: - - 'netvirt-verify-{stream}' - - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - stream: - - routermanager: - branch: 'topic/routermanager' - jdk: openjdk8 - jdks: - - openjdk8 - - project: 'netvirt' diff --git a/jjb/netvirt/netvirt.cfg b/jjb/netvirt/netvirt.cfg index 66e5c74fb..6fe418ae0 100644 --- a/jjb/netvirt/netvirt.cfg +++ b/jjb/netvirt/netvirt.cfg @@ -8,4 +8,4 @@ STREAMS: jdks: openjdk7,openjdk8 autorelease: true DEPENDENCIES: controller,neutron,odlparent,openflowjava,openflowplugin,ovsdb,sfc,yangtools -JOB_TEMPLATES: verify,merge +JOB_TEMPLATES: verify diff --git a/jjb/netvirt/netvirt.yaml b/jjb/netvirt/netvirt.yaml index 110d3cc76..2a6b48f7d 100644 --- a/jjb/netvirt/netvirt.yaml +++ b/jjb/netvirt/netvirt.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: netvirt @@ -10,11 +6,10 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' - '{name}-validate-autorelease-{stream}' - - 'netvirt-verify-{stream}' - - 'netvirt-merge-{stream}' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,6 +29,13 @@ - openjdk8 disable_autorelease: False disable_distribution_check: False + - routermanager: + branch: 'topic/routermanager' + jdk: openjdk8 + jdks: + - openjdk8 + disable_autorelease: False + disable_distribution_check: False project: 'netvirt' mvn-settings: 'netvirt-settings' @@ -41,196 +43,4 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},neutron-merge-{stream},odlparent-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},sfc-merge-{stream},yangtools-merge-{stream}' email-upstream: '[netvirt] [controller] [neutron] [odlparent] [openflowjava] [openflowplugin] [ovsdb] [sfc] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'netvirt-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'netvirt' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netvirt-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[netvirt]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netvirt-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'netvirt' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netvirt-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[netvirt]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - + archive-artifacts: '' diff --git a/jjb/neutron/neutron.yaml b/jjb/neutron/neutron.yaml index d0a4e780f..5825c5143 100644 --- a/jjb/neutron/neutron.yaml +++ b/jjb/neutron/neutron.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: neutron @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'neutron-verify-{stream}' - - 'neutron-merge-{stream}' - - 'neutron-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},aaa-merge-{stream}' email-upstream: '[neutron] [odlparent] [aaa]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'neutron-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'neutron' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'neutron-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'neutron-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'neutron' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'neutron-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[neutron]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'neutron-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'neutron' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'neutron-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/next/next.yaml b/jjb/next/next.yaml index 703cb4b6b..09cb33e3a 100644 --- a/jjb/next/next.yaml +++ b/jjb/next/next.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: next @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'next-verify-{stream}' - - 'next-merge-{stream}' - - 'next-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[next] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'next-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'next' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'next-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[next]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'next-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'next' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'next-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[next]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'next-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'next' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'next-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[next]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/nic/nic.yaml b/jjb/nic/nic.yaml index ae89f7d97..c7ca0dbd0 100644 --- a/jjb/nic/nic.yaml +++ b/jjb/nic/nic.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: nic @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'nic-verify-{stream}' - - 'nic-merge-{stream}' - - 'nic-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},odlparent-merge-{stream},vtn-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' email-upstream: '[nic] [controller] [odlparent] [vtn] [yangtools] [groupbasedpolicy]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'nic-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'nic' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nic-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[nic]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nic-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'nic' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nic-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[nic]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nic-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'nic' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nic-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[nic]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/ocpplugin/ocpplugin.yaml b/jjb/ocpplugin/ocpplugin.yaml index 99af8007b..34ad50c9f 100644 --- a/jjb/ocpplugin/ocpplugin.yaml +++ b/jjb/ocpplugin/ocpplugin.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: ocpplugin @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'ocpplugin-verify-{stream}' - - 'ocpplugin-merge-{stream}' - - 'ocpplugin-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' email-upstream: '[ocpplugin] [odlparent] [yangtools] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'ocpplugin-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'ocpplugin' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ocpplugin-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[ocpplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ocpplugin-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'ocpplugin' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ocpplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[ocpplugin]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ocpplugin-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'ocpplugin' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ocpplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[ocpplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/odlparent/odlparent.yaml b/jjb/odlparent/odlparent.yaml index 5d8eb31d1..2cb555a45 100644 --- a/jjb/odlparent/odlparent.yaml +++ b/jjb/odlparent/odlparent.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: odlparent @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'odlparent-verify-{stream}' - - 'odlparent-merge-{stream}' - - 'odlparent-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: '' email-upstream: '[odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'odlparent-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'odlparent' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'odlparent-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'odlparent-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'odlparent' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'odlparent-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[odlparent]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'odlparent-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'odlparent' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'odlparent-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/of-config/of-config.yaml b/jjb/of-config/of-config.yaml index c66a02856..3b5a13a1c 100644 --- a/jjb/of-config/of-config.yaml +++ b/jjb/of-config/of-config.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: of-config @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'of-config-verify-{stream}' - - 'of-config-merge-{stream}' - - 'of-config-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},netconf-merge-{stream}' email-upstream: '[of-config] [controller] [yangtools] [odlparent] [netconf]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'of-config-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'of-config' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'of-config-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[of-config]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'of-config-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'of-config' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'of-config-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[of-config]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'of-config-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'of-config' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'of-config-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[of-config]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/ofextensions/circuitsw/circuitsw.yaml b/jjb/ofextensions/circuitsw/circuitsw.yaml index 2c1a2226b..4ae5c6495 100644 --- a/jjb/ofextensions/circuitsw/circuitsw.yaml +++ b/jjb/ofextensions/circuitsw/circuitsw.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: circuitsw @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'circuitsw-verify-{stream}' - - 'circuitsw-merge-{stream}' - - 'circuitsw-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream}' email-upstream: '[circuitsw] [odlparent] [yangtools] [controller] [openflowplugin]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'circuitsw-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'ofextensions/circuitsw' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ofextensions-circuitsw-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[circuitsw]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'circuitsw-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'ofextensions/circuitsw' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ofextensions-circuitsw-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[circuitsw]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'circuitsw-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'ofextensions/circuitsw' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ofextensions-circuitsw-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[circuitsw]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/openflowjava/openflowjava.yaml b/jjb/openflowjava/openflowjava.yaml index 09407248f..f6955e1a8 100644 --- a/jjb/openflowjava/openflowjava.yaml +++ b/jjb/openflowjava/openflowjava.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: openflowjava @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'openflowjava-verify-{stream}' - - 'openflowjava-merge-{stream}' - - 'openflowjava-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' email-upstream: '[openflowjava] [odlparent] [yangtools] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'openflowjava-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'openflowjava' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowjava-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[openflowjava]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowjava-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'openflowjava' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowjava-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[openflowjava]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowjava-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'openflowjava' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowjava-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[openflowjava]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/openflowplugin/openflowplugin.yaml b/jjb/openflowplugin/openflowplugin.yaml index 50bcb34ac..2a3c12bf4 100644 --- a/jjb/openflowplugin/openflowplugin.yaml +++ b/jjb/openflowplugin/openflowplugin.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: openflowplugin @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'openflowplugin-verify-{stream}' - - 'openflowplugin-merge-{stream}' - - 'openflowplugin-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}' email-upstream: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'openflowplugin-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'openflowplugin' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowplugin-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, model/*/target/site/**' - - findbugs - - email-notification: - email-prefix: '[openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowplugin-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'openflowplugin' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, model/*/target/site/**' - - email-notification: - email-prefix: '[openflowplugin]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowplugin-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'openflowplugin' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: 'model/*/target/site/**' diff --git a/jjb/ovsdb/ovsdb.cfg b/jjb/ovsdb/ovsdb.cfg index b1ad0aa2f..c9c65b14c 100644 --- a/jjb/ovsdb/ovsdb.cfg +++ b/jjb/ovsdb/ovsdb.cfg @@ -12,4 +12,4 @@ STREAMS: jdks: openjdk7 distribution-check: false DEPENDENCIES: odlparent,controller,yangtools -JOB_TEMPLATES: verify,merge +JOB_TEMPLATES: verify diff --git a/jjb/ovsdb/ovsdb.yaml b/jjb/ovsdb/ovsdb.yaml index 8dd487684..14725a5b1 100644 --- a/jjb/ovsdb/ovsdb.yaml +++ b/jjb/ovsdb/ovsdb.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: ovsdb @@ -10,11 +6,10 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' - '{name}-validate-autorelease-{stream}' - - 'ovsdb-verify-{stream}' - - 'ovsdb-merge-{stream}' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -48,196 +43,4 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[ovsdb] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'ovsdb-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'ovsdb' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ovsdb-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[ovsdb]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ovsdb-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'ovsdb' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ovsdb-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[ovsdb]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - + archive-artifacts: '' diff --git a/jjb/packetcable/packetcable.yaml b/jjb/packetcable/packetcable.yaml index aa09b432e..f51fbf057 100644 --- a/jjb/packetcable/packetcable.yaml +++ b/jjb/packetcable/packetcable.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: packetcable @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'packetcable-verify-{stream}' - - 'packetcable-merge-{stream}' - - 'packetcable-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[packetcable] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'packetcable-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'packetcable' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'packetcable-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[packetcable]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'packetcable-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'packetcable' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'packetcable-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[packetcable]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'packetcable-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'packetcable' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'packetcable-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[packetcable]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/persistence/persistence.yaml b/jjb/persistence/persistence.yaml index 52f0a1848..3531af8f1 100644 --- a/jjb/persistence/persistence.yaml +++ b/jjb/persistence/persistence.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: persistence @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'persistence-verify-{stream}' - - 'persistence-merge-{stream}' - - 'persistence-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -51,260 +46,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[persistence] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'persistence-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'persistence' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'persistence-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[persistence]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'persistence-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'persistence' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'persistence-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[persistence]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'persistence-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'persistence' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'persistence-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[persistence]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/releng-templates-java.yaml b/jjb/releng-templates-java.yaml index de023cbd7..dfeb7cd39 100644 --- a/jjb/releng-templates-java.yaml +++ b/jjb/releng-templates-java.yaml @@ -302,6 +302,114 @@ - archive-build: maven-version: '{mvn33}' +- job-template: + name: '{name}-merge-{stream}' + + # Job template for ODL merge jobs + # + # The purpose of this job template is to setup a ODL merge job + # and deploy artifacts to Nexus. + # + # Required Variables: + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) + + project-type: maven + node: dynamic_merge + jdk: '{jdk}' + + logrotate: + daysToKeep: '14' + numToKeep: '10' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - opendaylight-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' + + wrappers: + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - timed: 'H H * * 0' + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + + prebuilders: + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: 'odl-global-settings' + settings-file: '{mvn-settings}' + + maven: + maven-name: '{mvn33}' + goals: '{mvn-goals} -V -B -Djenkins -Dmerge -Dstream={stream}' + maven-opts: '{mvn-opts}' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + post-step-run-condition: UNSTABLE + + postbuilders: + - conditional-step: + condition-kind: file-exists + condition-filename: deploy-site.xml + condition-basedir: workspace + + # The strategy here is intentional to run Maven site:deploy twice + # once using regular pom.xml to produce a staged-site which is + # then used by deploy-site.xml to push to Nexus. This is a + # workaround to Maven Site's default linking code which creates + # incorrect URLs for sites due to auto-detection assuming your + # project is configured in a certain way which ODL is not. + steps: + - maven-target: + maven-version: '{mvn33}' + pom: pom.xml + goals: 'site:deploy -V -B -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + - maven-target: + maven-version: '{mvn33}' + pom: deploy-site.xml + goals: 'site:deploy -V -B -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + + reporters: + - findbugs + + publishers: + - email-notification: + email-prefix: '[{name}]' + - maven-deploy: + id: '' + unique-version: true + deploy-unstable: false + - jacoco-report + - archive-build: + maven-version: '{mvn33}' + - job-template: name: '{name}-periodic-{stream}' @@ -365,6 +473,69 @@ - archive-build: maven-version: '{mvn33}' +- job-template: + name: '{name}-sonar' + disabled: false + + project-type: maven + node: dynamic_verify + jdk: 'openjdk8' + + logrotate: + daysToKeep: '7' + numToKeep: '10' + artifactDaysToKeep: '1' + artifactNumToKeep: '1' + + parameters: + - opendaylight-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - git-scm: + refspec: '' + branch: 'master' + + wrappers: + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - timed: 'H H * * 6' + - gerrit-trigger-patch-sonar: + name: '{project}' + + prebuilders: + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: 'odl-global-settings' + settings-file: '{mvn-settings}' + + maven: + maven-name: '{mvn33}' + goals: '{mvn-goals} -V -B -Djenkins -Dsonar' + maven-opts: '{mvn-opts}' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + + reporters: + - findbugs + + publishers: + - sonar: + language: 'java' + maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' + - email-notification: + email-prefix: '[{name}]' + - jacoco-report + - archive-build: + maven-version: '{mvn33}' + - job-template: name: '{name}-validate-autorelease-{stream}' disabled: '{obj:disable_autorelease}' @@ -428,7 +599,7 @@ comment-contains-value: 'revalidate' projects: - project-compare-type: 'ANT' - project-pattern: 'PROJECT_PATH' + project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' @@ -471,3 +642,75 @@ email-prefix: '[autorelease] [{name}]' - archive-build: maven-version: '{mvn33}' + +- job-template: + name: '{name}-verify-{stream}' + + # Job template for ODL verify jobs + # + # The purpose of this job template is to setup a ODL verify job + # + # Required Variables: + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) + + project-type: matrix + node: matrix_master + concurrent: true + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: '{obj:jdks}' + + logrotate: + daysToKeep: '14' + + parameters: + - opendaylight-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: 'odl-global-settings' + settings-file: '{mvn-settings}' + - maven-target: + maven-version: '{mvn33}' + goals: '{mvn-goals} -V -B -Djenkins -Dstream={stream}' + java-opts: + - '{mvn-opts}' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + + publishers: + - findbugs + - email-notification: + email-prefix: '[{name}]' + - jacoco-report + - archive-build: + maven-version: '{mvn33}' diff --git a/jjb/reservation/reservation.yaml b/jjb/reservation/reservation.yaml index 20579ba49..81aee5f51 100644 --- a/jjb/reservation/reservation.yaml +++ b/jjb/reservation/reservation.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: reservation @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'reservation-verify-{stream}' - - 'reservation-merge-{stream}' - - 'reservation-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' email-upstream: '[reservation] [odlparent] [controller] [yangtools] [groupbasedpolicy]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'reservation-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'reservation' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'reservation-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[reservation]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'reservation-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'reservation' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'reservation-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[reservation]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'reservation-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'reservation' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'reservation-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[reservation]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/sdninterfaceapp/sdninterfaceapp.yaml b/jjb/sdninterfaceapp/sdninterfaceapp.yaml index b0eefeaeb..187fef48c 100644 --- a/jjb/sdninterfaceapp/sdninterfaceapp.yaml +++ b/jjb/sdninterfaceapp/sdninterfaceapp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: sdninterfaceapp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'sdninterfaceapp-verify-{stream}' - - 'sdninterfaceapp-merge-{stream}' - - 'sdninterfaceapp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},bgpcep-merge-{stream}' email-upstream: '[sdninterfaceapp] [odlparent] [bgpcep]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'sdninterfaceapp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'sdninterfaceapp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sdninterfaceapp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[sdninterfaceapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sdninterfaceapp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'sdninterfaceapp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sdninterfaceapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[sdninterfaceapp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sdninterfaceapp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'sdninterfaceapp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sdninterfaceapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[sdninterfaceapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/sfc/sfc.yaml b/jjb/sfc/sfc.yaml index 08ec32702..035c4d840 100644 --- a/jjb/sfc/sfc.yaml +++ b/jjb/sfc/sfc.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: sfc @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'sfc-verify-{stream}' - - 'sfc-merge-{stream}' - - 'sfc-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}' email-upstream: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'sfc-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'sfc' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sfc-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[sfc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sfc-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'sfc' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sfc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[sfc]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sfc-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'sfc' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sfc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[sfc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/snbi/snbi.yaml b/jjb/snbi/snbi.yaml index ac63cb235..ab470f915 100644 --- a/jjb/snbi/snbi.yaml +++ b/jjb/snbi/snbi.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: snbi @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'snbi-verify-{stream}' - - 'snbi-merge-{stream}' - - 'snbi-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[snbi] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'snbi-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'snbi' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snbi-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[snbi]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snbi-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'snbi' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snbi-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[snbi]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snbi-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'snbi' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snbi-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[snbi]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/snmp/snmp.yaml b/jjb/snmp/snmp.yaml index 1210bfc76..a49d191c4 100644 --- a/jjb/snmp/snmp.yaml +++ b/jjb/snmp/snmp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: snmp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'snmp-verify-{stream}' - - 'snmp-merge-{stream}' - - 'snmp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[snmp] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'snmp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'snmp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[snmp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'snmp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[snmp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'snmp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[snmp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/snmp4sdn/snmp4sdn.yaml b/jjb/snmp4sdn/snmp4sdn.yaml index 2e2bc5e77..c2928e998 100644 --- a/jjb/snmp4sdn/snmp4sdn.yaml +++ b/jjb/snmp4sdn/snmp4sdn.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: snmp4sdn @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'snmp4sdn-verify-{stream}' - - 'snmp4sdn-merge-{stream}' - - 'snmp4sdn-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[snmp4sdn] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'snmp4sdn-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'snmp4sdn' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp4sdn-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[snmp4sdn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp4sdn-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'snmp4sdn' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp4sdn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[snmp4sdn]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp4sdn-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'snmp4sdn' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp4sdn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[snmp4sdn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/sxp/sxp.yaml b/jjb/sxp/sxp.yaml index 00ce7bd55..c124c600c 100644 --- a/jjb/sxp/sxp.yaml +++ b/jjb/sxp/sxp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: sxp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'sxp-verify-{stream}' - - 'sxp-merge-{stream}' - - 'sxp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[sxp] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'sxp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'sxp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sxp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[sxp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sxp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'sxp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sxp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[sxp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sxp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'sxp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sxp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[sxp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/tcpmd5/tcpmd5.yaml b/jjb/tcpmd5/tcpmd5.yaml index a2486edc8..e1d542673 100644 --- a/jjb/tcpmd5/tcpmd5.yaml +++ b/jjb/tcpmd5/tcpmd5.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: tcpmd5 @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'tcpmd5-verify-{stream}' - - 'tcpmd5-merge-{stream}' - - 'tcpmd5-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' email-upstream: '[tcpmd5] [odlparent] [yangtools] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'tcpmd5-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'tcpmd5' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tcpmd5-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[tcpmd5]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tcpmd5-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'tcpmd5' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tcpmd5-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[tcpmd5]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tcpmd5-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'tcpmd5' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tcpmd5-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[tcpmd5]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/toolkit/toolkit.yaml b/jjb/toolkit/toolkit.yaml index 63796aba2..16609cf30 100644 --- a/jjb/toolkit/toolkit.yaml +++ b/jjb/toolkit/toolkit.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: toolkit @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'toolkit-verify-{stream}' - - 'toolkit-merge-{stream}' - - 'toolkit-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -41,260 +36,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream}' email-upstream: '[toolkit] [odlparent] [controller]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'toolkit-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'toolkit' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'toolkit-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[toolkit]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'toolkit-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'toolkit' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'toolkit-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[toolkit]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'toolkit-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'toolkit' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'toolkit-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[toolkit]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/topoprocessing/topoprocessing.yaml b/jjb/topoprocessing/topoprocessing.yaml index 934a211f7..d40095d74 100644 --- a/jjb/topoprocessing/topoprocessing.yaml +++ b/jjb/topoprocessing/topoprocessing.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: topoprocessing @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'topoprocessing-verify-{stream}' - - 'topoprocessing-merge-{stream}' - - 'topoprocessing-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[topoprocessing] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'topoprocessing-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'topoprocessing' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'topoprocessing-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[topoprocessing]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'topoprocessing-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'topoprocessing' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'topoprocessing-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[topoprocessing]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'topoprocessing-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'topoprocessing' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'topoprocessing-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[topoprocessing]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/tsdr/tsdr.yaml b/jjb/tsdr/tsdr.yaml index da22f42cb..47c213887 100644 --- a/jjb/tsdr/tsdr.yaml +++ b/jjb/tsdr/tsdr.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: tsdr @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'tsdr-verify-{stream}' - - 'tsdr-merge-{stream}' - - 'tsdr-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[tsdr] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'tsdr-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'tsdr' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tsdr-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[tsdr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tsdr-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'tsdr' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tsdr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[tsdr]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tsdr-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'tsdr' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tsdr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[tsdr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/ttp/ttp.yaml b/jjb/ttp/ttp.yaml index 0e08b2ebf..845b56d89 100644 --- a/jjb/ttp/ttp.yaml +++ b/jjb/ttp/ttp.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: ttp @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'ttp-verify-{stream}' - - 'ttp-merge-{stream}' - - 'ttp-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[ttp] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'ttp-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'ttp' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ttp-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[ttp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ttp-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'ttp' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ttp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[ttp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ttp-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'ttp' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ttp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[ttp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/unimgr/unimgr.yaml b/jjb/unimgr/unimgr.yaml index 46bce47d6..b78440027 100644 --- a/jjb/unimgr/unimgr.yaml +++ b/jjb/unimgr/unimgr.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: unimgr @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'unimgr-verify-{stream}' - - 'unimgr-merge-{stream}' - - 'unimgr-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},ovsdb-merge-{stream}' email-upstream: '[unimgr] [odlparent] [yangtools] [controller] [ovsdb]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'unimgr-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'unimgr' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'unimgr-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[unimgr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'unimgr-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'unimgr' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'unimgr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[unimgr]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'unimgr-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'unimgr' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'unimgr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[unimgr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/usc/usc.yaml b/jjb/usc/usc.yaml index d9c930b4a..5809913d2 100644 --- a/jjb/usc/usc.yaml +++ b/jjb/usc/usc.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: usc @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'usc-verify-{stream}' - - 'usc-merge-{stream}' - - 'usc-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -50,260 +45,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' email-upstream: '[usc] [controller] [yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'usc-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'usc' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usc-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[usc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usc-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'usc' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[usc]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usc-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'usc' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[usc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/usecplugin/usecplugin.yaml b/jjb/usecplugin/usecplugin.yaml index dde9d7448..d6c38a045 100644 --- a/jjb/usecplugin/usecplugin.yaml +++ b/jjb/usecplugin/usecplugin.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: usecplugin @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'usecplugin-verify-{stream}' - - 'usecplugin-merge-{stream}' - - 'usecplugin-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'openflowplugin-merge-{stream},odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' email-upstream: '[usecplugin] [openflowplugin] [odlparent] [controller] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'usecplugin-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'usecplugin' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usecplugin-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[usecplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usecplugin-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'usecplugin' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usecplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[usecplugin]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usecplugin-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'usecplugin' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usecplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[usecplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/vpnservice/vpnservice.yaml b/jjb/vpnservice/vpnservice.yaml index 05b3af15b..212e46210 100644 --- a/jjb/vpnservice/vpnservice.yaml +++ b/jjb/vpnservice/vpnservice.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: vpnservice @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'vpnservice-verify-{stream}' - - 'vpnservice-merge-{stream}' - - 'vpnservice-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}' email-upstream: '[vpnservice] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'vpnservice-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'vpnservice' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vpnservice-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[vpnservice]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vpnservice-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'vpnservice' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vpnservice-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[vpnservice]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vpnservice-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'vpnservice' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vpnservice-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[vpnservice]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index a277e358a..13709888c 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: vtn @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'vtn-verify-{stream}' - - 'vtn-merge-{stream}' - - 'vtn-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,260 +44,4 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},mdsal-merge-{stream},neutron-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},yangtools-merge-{stream}' email-upstream: '[vtn] [controller] [mdsal] [neutron] [odlparent] [openflowplugin] [ovsdb] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'vtn-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'vtn' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vtn-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**, target/*-javadoc.jar, target/apidocs/**, manager/model/target/site/models/**' - - findbugs - - email-notification: - email-prefix: '[vtn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vtn-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'vtn' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vtn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**, target/*-javadoc.jar, target/apidocs/**, manager/model/target/site/models/**' - - email-notification: - email-prefix: '[vtn]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vtn-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'vtn' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vtn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[vtn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - + archive-artifacts: 'manager/dist/*/target/*.zip coordinator/dist/target/*.bz2 manager/northbound/target/site/wsdocs/** manager/api/target/*-javadoc.jar manager/api/target/apidocs/** target/*-javadoc.jar target/apidocs/** manager/model/target/site/models/**' diff --git a/jjb/yang-push/yang-push.yaml b/jjb/yang-push/yang-push.yaml index 4d15e9705..236086cc8 100644 --- a/jjb/yang-push/yang-push.yaml +++ b/jjb/yang-push/yang-push.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: yang-push @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'yang-push-verify-{stream}' - - 'yang-push-merge-{stream}' - - 'yang-push-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -42,260 +37,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' email-upstream: '[yang-push] [controller] [yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'yang-push-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'yang-push' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yang-push-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[yang-push]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yang-push-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'yang-push' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yang-push-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[yang-push]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yang-push-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'yang-push' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yang-push-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[yang-push]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/yangide/yangide.yaml b/jjb/yangide/yangide.yaml index 99494394e..9629e40bd 100644 --- a/jjb/yangide/yangide.yaml +++ b/jjb/yangide/yangide.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: yangide @@ -10,12 +6,11 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'yangide-verify-{stream}' - - 'yangide-merge-{stream}' - - 'yangide-sonar' - + - '{name}-verify-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -34,260 +29,5 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}' email-upstream: '[yangide] [odlparent] [yangtools]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'yangide-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: matrix - node: matrix_master - concurrent: true - - axes: - - axis: - type: slave - name: nodes - values: - - dynamic_verify - - axis: - type: jdk - values: '{obj:jdks}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'yangide' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangide-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[yangide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangide-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'yangide' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[yangide]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangide-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'yangide' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[yangide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + archive-artifacts: '' diff --git a/jjb/yangtools/yangtools.cfg b/jjb/yangtools/yangtools.cfg index a0ba397bf..339fc3304 100644 --- a/jjb/yangtools/yangtools.cfg +++ b/jjb/yangtools/yangtools.cfg @@ -12,4 +12,3 @@ STREAMS: jdks: openjdk7,openjdk8 distribution-check: false DEPENDENCIES: odlparent -JOB_TEMPLATES: merge,sonar diff --git a/jjb/yangtools/yangtools.yaml b/jjb/yangtools/yangtools.yaml index 00f571d3f..7f8a882a4 100644 --- a/jjb/yangtools/yangtools.yaml +++ b/jjb/yangtools/yangtools.yaml @@ -1,7 +1,3 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - # ODL Releng build templates - project: name: yangtools @@ -10,11 +6,10 @@ - '{name}-distribution-{stream}' - '{name}-distribution-check-{stream}' - '{name}-integration-{stream}' + - '{name}-merge-{stream}' - '{name}-periodic-{stream}' + - '{name}-sonar' - '{name}-validate-autorelease-{stream}' - - 'yangtools-merge-{stream}' - - 'yangtools-sonar' - # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) @@ -49,185 +44,4 @@ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' dependencies: 'odlparent-merge-{stream}' email-upstream: '[yangtools] [odlparent]' - -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'yangtools-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'yangtools' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangtools-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[yangtools]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangtools-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'yangtools' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangtools-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - + archive-artifacts: '' diff --git a/scripts/jjb-init-project.py b/scripts/jjb-init-project.py index 8b891f18d..b878f8e4b 100644 --- a/scripts/jjb-init-project.py +++ b/scripts/jjb-init-project.py @@ -57,9 +57,7 @@ if os.path.isfile(project_conf): if cfg.get("JOB_TEMPLATES"): templates = cfg.get("JOB_TEMPLATES") else: - templates = ( - "verify,merge," - "sonar") + templates = ("") ################## # Handle Streams # @@ -156,12 +154,7 @@ if dependencies: # Handle ARCHIVE_ARTIFACTS # ############################ -always_archive = "**/target/surefire-reports/*-output.txt" - archive_artifacts = cfg.get('ARCHIVE_ARTIFACTS', '') -archive_artifacts = ("- archive-artifacts:\n" - " artifacts: '%s, %s'" % - (always_archive, archive_artifacts)) ############################## # Create configuration start # -- 2.36.6