From d93ed9416e29f9080b00eea18284931de053837c Mon Sep 17 00:00:00 2001 From: jenkins-releng Date: Mon, 11 Jul 2016 16:22:38 +0000 Subject: [PATCH] Update automated project templates Change-Id: Ic2bd8845366a0296bbfc12f3a16ba527393bcd1e Signed-off-by: jenkins-releng --- jjb/aaa/aaa.yaml | 484 +----------------- jjb/alto/alto.yaml | 484 +----------------- jjb/armoury/armoury.yaml | 484 +----------------- jjb/atrium/atrium.yaml | 484 +----------------- jjb/bgpcep/bgpcep.yaml | 484 +----------------- jjb/capwap/capwap.yaml | 484 +----------------- jjb/cardinal/cardinal.yaml | 484 +----------------- jjb/centinel/centinel.yaml | 484 +----------------- jjb/controller/controller.yaml | 484 +----------------- jjb/coretutorials/coretutorials.yaml | 484 +----------------- jjb/didm/didm.yaml | 484 +----------------- jjb/discovery/discovery.yaml | 484 +----------------- jjb/dlux/dlux.yaml | 484 +----------------- jjb/docs/docs.yaml | 484 +----------------- jjb/faas/faas.yaml | 484 +----------------- jjb/genius/genius.yaml | 484 +----------------- jjb/groupbasedpolicy/groupbasedpolicy.yaml | 484 +----------------- jjb/honeycomb/vbd/vbd.yaml | 484 +----------------- jjb/infrautils/infrautils.yaml | 484 +----------------- .../distribution/distribution.yaml | 177 +------ jjb/iotdm/iotdm.yaml | 484 +----------------- jjb/l2switch/l2switch.yaml | 484 +----------------- jjb/lacp/lacp.yaml | 484 +----------------- jjb/lispflowmapping/lispflowmapping.yaml | 484 +----------------- jjb/mdsal/mdsal.yaml | 484 +----------------- .../messaging4transport.yaml | 484 +----------------- jjb/natapp/natapp.yaml | 484 +----------------- jjb/nemo/nemo.yaml | 484 +----------------- jjb/netconf/netconf.yaml | 484 +----------------- jjb/netide/netide.yaml | 484 +----------------- jjb/netvirt/netvirt.yaml | 484 +----------------- jjb/neutron/neutron.yaml | 484 +----------------- jjb/next/next.yaml | 484 +----------------- jjb/nic/nic.yaml | 484 +----------------- jjb/ocpplugin/ocpplugin.yaml | 484 +----------------- jjb/odlparent/odlparent.yaml | 484 +----------------- jjb/of-config/of-config.yaml | 484 +----------------- jjb/ofextensions/circuitsw/circuitsw.yaml | 484 +----------------- jjb/openflowjava/openflowjava.yaml | 484 +----------------- jjb/openflowplugin/openflowplugin.yaml | 484 +----------------- jjb/ovsdb/ovsdb.yaml | 484 +----------------- jjb/packetcable/packetcable.yaml | 484 +----------------- jjb/persistence/persistence.yaml | 484 +----------------- jjb/reservation/reservation.yaml | 484 +----------------- jjb/sdninterfaceapp/sdninterfaceapp.yaml | 484 +----------------- jjb/sfc/sfc.yaml | 484 +----------------- jjb/snbi/snbi.yaml | 484 +----------------- jjb/snmp/snmp.yaml | 484 +----------------- jjb/snmp4sdn/snmp4sdn.yaml | 484 +----------------- jjb/sxp/sxp.yaml | 484 +----------------- jjb/tcpmd5/tcpmd5.yaml | 484 +----------------- jjb/toolkit/toolkit.yaml | 484 +----------------- jjb/topoprocessing/topoprocessing.yaml | 484 +----------------- jjb/tsdr/tsdr.yaml | 484 +----------------- jjb/ttp/ttp.yaml | 484 +----------------- jjb/unimgr/unimgr.yaml | 484 +----------------- jjb/usc/usc.yaml | 484 +----------------- jjb/usecplugin/usecplugin.yaml | 484 +----------------- jjb/vpnservice/vpnservice.yaml | 484 +----------------- jjb/vtn/vtn.yaml | 484 +----------------- jjb/yang-push/yang-push.yaml | 484 +----------------- jjb/yangide/yangide.yaml | 484 +----------------- jjb/yangtools/yangtools.yaml | 484 +----------------- 63 files changed, 693 insertions(+), 29492 deletions(-) diff --git a/jjb/aaa/aaa.yaml b/jjb/aaa/aaa.yaml index cccdf9ef7..3ee9c5fcf 100644 --- a/jjb/aaa/aaa.yaml +++ b/jjb/aaa/aaa.yaml @@ -6,15 +6,15 @@ - project: name: aaa jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'aaa-verify-{stream}' - 'aaa-merge-{stream}' - - 'aaa-periodic-{stream}' - - 'aaa-distribution-{stream}' - - 'aaa-distribution-check-{stream}' - - 'aaa-integration-{stream}' - 'aaa-sonar' - - 'aaa-clm-{stream}' - - 'aaa-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'aaa' + mvn-settings: 'aaa-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'aaa-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'aaa-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'aaa-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'aaa-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[aaa]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'aaa-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[aaa] [odlparent] [yangtools] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'aaa-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'aaa-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'aaa-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'aaa-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: aaa - - publishers: - - email-notification: - email-prefix: '[aaa]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'aaa-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'aaa' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [aaa]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/alto/alto.yaml b/jjb/alto/alto.yaml index c6422c7cd..6afbc6ab0 100644 --- a/jjb/alto/alto.yaml +++ b/jjb/alto/alto.yaml @@ -6,15 +6,15 @@ - project: name: alto jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'alto-verify-{stream}' - 'alto-merge-{stream}' - - 'alto-periodic-{stream}' - - 'alto-distribution-{stream}' - - 'alto-distribution-check-{stream}' - - 'alto-integration-{stream}' - 'alto-sonar' - - 'alto-clm-{stream}' - - 'alto-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'alto' + mvn-settings: 'alto-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'alto-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[alto]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'alto-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'alto-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'alto-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[alto]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'alto-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},l2switch-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[alto] [controller] [yangtools] [odlparent] [l2switch]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'alto-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'alto-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'alto-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'alto-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: alto - - publishers: - - email-notification: - email-prefix: '[alto]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'alto-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'alto' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [alto]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/armoury/armoury.yaml b/jjb/armoury/armoury.yaml index 6c12156ea..4f85aa0bd 100644 --- a/jjb/armoury/armoury.yaml +++ b/jjb/armoury/armoury.yaml @@ -6,15 +6,15 @@ - project: name: armoury jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'armoury-verify-{stream}' - 'armoury-merge-{stream}' - - 'armoury-periodic-{stream}' - - 'armoury-distribution-{stream}' - - 'armoury-distribution-check-{stream}' - - 'armoury-integration-{stream}' - 'armoury-sonar' - - 'armoury-clm-{stream}' - - 'armoury-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -38,6 +38,11 @@ disable_distribution_check: False project: 'armoury' + mvn-settings: 'armoury-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -233,309 +238,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'armoury-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[armoury]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'armoury-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'armoury-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'armoury-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[armoury]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'armoury-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[armoury] [odlparent] [yangtools] [controller] [mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'armoury-sonar' disabled: false @@ -597,167 +299,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'armoury-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'armoury-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'armoury-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: armoury - - publishers: - - email-notification: - email-prefix: '[armoury]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'armoury-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'armoury' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [armoury]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/atrium/atrium.yaml b/jjb/atrium/atrium.yaml index 3f5580854..a43092618 100644 --- a/jjb/atrium/atrium.yaml +++ b/jjb/atrium/atrium.yaml @@ -6,15 +6,15 @@ - project: name: atrium jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'atrium-verify-{stream}' - 'atrium-merge-{stream}' - - 'atrium-periodic-{stream}' - - 'atrium-distribution-{stream}' - - 'atrium-distribution-check-{stream}' - - 'atrium-integration-{stream}' - 'atrium-sonar' - - 'atrium-clm-{stream}' - - 'atrium-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'atrium' + mvn-settings: 'atrium-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'atrium-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[atrium]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'atrium-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'atrium-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'atrium-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[atrium]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'atrium-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[atrium] [odlparent] [yangtools] [controller] [mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'atrium-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'atrium-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'atrium-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'atrium-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: atrium - - publishers: - - email-notification: - email-prefix: '[atrium]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'atrium-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'atrium' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [atrium]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/bgpcep/bgpcep.yaml b/jjb/bgpcep/bgpcep.yaml index c22af932c..aeb0e7e3a 100644 --- a/jjb/bgpcep/bgpcep.yaml +++ b/jjb/bgpcep/bgpcep.yaml @@ -6,15 +6,15 @@ - project: name: bgpcep jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'bgpcep-verify-{stream}' - 'bgpcep-merge-{stream}' - - 'bgpcep-periodic-{stream}' - - 'bgpcep-distribution-{stream}' - - 'bgpcep-distribution-check-{stream}' - - 'bgpcep-integration-{stream}' - 'bgpcep-sonar' - - 'bgpcep-clm-{stream}' - - 'bgpcep-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'bgpcep' + mvn-settings: 'bgpcep-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'bgpcep-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[bgpcep]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'bgpcep-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'bgpcep-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'bgpcep-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[bgpcep]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'bgpcep-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream},tcpmd5-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'bgpcep-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'bgpcep-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'bgpcep-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'bgpcep-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: bgpcep - - publishers: - - email-notification: - email-prefix: '[bgpcep]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'bgpcep-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'bgpcep' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [bgpcep]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/capwap/capwap.yaml b/jjb/capwap/capwap.yaml index 0a89d3129..88a01a4c7 100644 --- a/jjb/capwap/capwap.yaml +++ b/jjb/capwap/capwap.yaml @@ -6,15 +6,15 @@ - project: name: capwap jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'capwap-verify-{stream}' - 'capwap-merge-{stream}' - - 'capwap-periodic-{stream}' - - 'capwap-distribution-{stream}' - - 'capwap-distribution-check-{stream}' - - 'capwap-integration-{stream}' - 'capwap-sonar' - - 'capwap-clm-{stream}' - - 'capwap-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'capwap' + mvn-settings: 'capwap-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'capwap-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[capwap]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'capwap-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'capwap-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'capwap-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[capwap]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'capwap-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[capwap] [controller] [yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'capwap-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'capwap-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'capwap-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'capwap-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: capwap - - publishers: - - email-notification: - email-prefix: '[capwap]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'capwap-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'capwap' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [capwap]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/cardinal/cardinal.yaml b/jjb/cardinal/cardinal.yaml index 4fc86a118..62ef413f7 100644 --- a/jjb/cardinal/cardinal.yaml +++ b/jjb/cardinal/cardinal.yaml @@ -6,15 +6,15 @@ - project: name: cardinal jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'cardinal-verify-{stream}' - 'cardinal-merge-{stream}' - - 'cardinal-periodic-{stream}' - - 'cardinal-distribution-{stream}' - - 'cardinal-distribution-check-{stream}' - - 'cardinal-integration-{stream}' - 'cardinal-sonar' - - 'cardinal-clm-{stream}' - - 'cardinal-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'cardinal' + mvn-settings: 'cardinal-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'cardinal-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[cardinal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'cardinal-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'cardinal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'cardinal-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[cardinal]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'cardinal-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},iotdm-merge-{stream},sfc-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[cardinal] [controller] [yangtools] [odlparent] [openflowplugin] [iotdm] [sfc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'cardinal-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'cardinal-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'cardinal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'cardinal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: cardinal - - publishers: - - email-notification: - email-prefix: '[cardinal]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'cardinal-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'cardinal' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [cardinal]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/centinel/centinel.yaml b/jjb/centinel/centinel.yaml index 6c45d8291..b4e7b092d 100644 --- a/jjb/centinel/centinel.yaml +++ b/jjb/centinel/centinel.yaml @@ -6,15 +6,15 @@ - project: name: centinel jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'centinel-verify-{stream}' - 'centinel-merge-{stream}' - - 'centinel-periodic-{stream}' - - 'centinel-distribution-{stream}' - - 'centinel-distribution-check-{stream}' - - 'centinel-integration-{stream}' - 'centinel-sonar' - - 'centinel-clm-{stream}' - - 'centinel-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'centinel' + mvn-settings: 'centinel-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'centinel-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[centinel]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'centinel-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'centinel-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'centinel-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[centinel]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'centinel-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[centinel] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'centinel-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'centinel-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'centinel-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'centinel-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: centinel - - publishers: - - email-notification: - email-prefix: '[centinel]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'centinel-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'centinel' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [centinel]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/controller/controller.yaml b/jjb/controller/controller.yaml index fbffe40b6..418e2b797 100644 --- a/jjb/controller/controller.yaml +++ b/jjb/controller/controller.yaml @@ -6,15 +6,15 @@ - project: name: controller jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'controller-verify-{stream}' - 'controller-merge-{stream}' - - 'controller-periodic-{stream}' - - 'controller-distribution-{stream}' - - 'controller-distribution-check-{stream}' - - 'controller-integration-{stream}' - 'controller-sonar' - - 'controller-clm-{stream}' - - 'controller-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'controller' + mvn-settings: 'controller-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'controller-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'controller-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'controller-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'controller-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -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 - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[controller]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'controller-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[controller] [odlparent] [yangtools] [aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'controller-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'controller-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'controller-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'controller-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: controller - - publishers: - - email-notification: - email-prefix: '[controller]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'controller-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'controller' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [controller]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/coretutorials/coretutorials.yaml b/jjb/coretutorials/coretutorials.yaml index c921d1e93..159619bc9 100644 --- a/jjb/coretutorials/coretutorials.yaml +++ b/jjb/coretutorials/coretutorials.yaml @@ -6,15 +6,15 @@ - project: name: coretutorials jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'coretutorials-verify-{stream}' - 'coretutorials-merge-{stream}' - - 'coretutorials-periodic-{stream}' - - 'coretutorials-distribution-{stream}' - - 'coretutorials-distribution-check-{stream}' - - 'coretutorials-integration-{stream}' - 'coretutorials-sonar' - - 'coretutorials-clm-{stream}' - - 'coretutorials-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -43,6 +43,11 @@ disable_distribution_check: True project: 'coretutorials' + mvn-settings: 'coretutorials-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -238,309 +243,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'coretutorials-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[coretutorials]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'coretutorials-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'coretutorials-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'coretutorials-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[coretutorials]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'coretutorials-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[coretutorials] [odlparent] [yangtools] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'coretutorials-sonar' disabled: false @@ -602,167 +304,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'coretutorials-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'coretutorials-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'coretutorials-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: coretutorials - - publishers: - - email-notification: - email-prefix: '[coretutorials]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'coretutorials-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'coretutorials' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [coretutorials]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/didm/didm.yaml b/jjb/didm/didm.yaml index 16a3eeee9..6a726efef 100644 --- a/jjb/didm/didm.yaml +++ b/jjb/didm/didm.yaml @@ -6,15 +6,15 @@ - project: name: didm jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'didm-verify-{stream}' - 'didm-merge-{stream}' - - 'didm-periodic-{stream}' - - 'didm-distribution-{stream}' - - 'didm-distribution-check-{stream}' - - 'didm-integration-{stream}' - 'didm-sonar' - - 'didm-clm-{stream}' - - 'didm-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'didm' + mvn-settings: 'didm-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'didm-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[didm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'didm-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'didm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'didm-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[didm]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'didm-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[didm] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'didm-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'didm-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'didm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'didm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: didm - - publishers: - - email-notification: - email-prefix: '[didm]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'didm-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'didm' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [didm]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/discovery/discovery.yaml b/jjb/discovery/discovery.yaml index 8177f3a7a..31ff3e102 100644 --- a/jjb/discovery/discovery.yaml +++ b/jjb/discovery/discovery.yaml @@ -6,15 +6,15 @@ - project: name: discovery jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'discovery-verify-{stream}' - 'discovery-merge-{stream}' - - 'discovery-periodic-{stream}' - - 'discovery-distribution-{stream}' - - 'discovery-distribution-check-{stream}' - - 'discovery-integration-{stream}' - 'discovery-sonar' - - 'discovery-clm-{stream}' - - 'discovery-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -36,6 +36,11 @@ disable_distribution_check: False project: 'discovery' + mvn-settings: 'discovery-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -231,309 +236,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'discovery-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[discovery]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'discovery-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'discovery-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'discovery-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[discovery]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'discovery-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[discovery] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'discovery-sonar' disabled: false @@ -595,167 +297,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'discovery-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'discovery-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'discovery-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: discovery - - publishers: - - email-notification: - email-prefix: '[discovery]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'discovery-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'discovery' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [discovery]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/dlux/dlux.yaml b/jjb/dlux/dlux.yaml index a7e885cd9..c780d0b2f 100644 --- a/jjb/dlux/dlux.yaml +++ b/jjb/dlux/dlux.yaml @@ -6,15 +6,15 @@ - project: name: dlux jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'dlux-verify-{stream}' - 'dlux-merge-{stream}' - - 'dlux-periodic-{stream}' - - 'dlux-distribution-{stream}' - - 'dlux-distribution-check-{stream}' - - 'dlux-integration-{stream}' - 'dlux-sonar' - - 'dlux-clm-{stream}' - - 'dlux-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'dlux' + mvn-settings: 'dlux-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'dlux-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[dlux]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'dlux-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'dlux-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'dlux-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[dlux]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'dlux-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[dlux] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'dlux-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'dlux-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'dlux-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'dlux-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: dlux - - publishers: - - email-notification: - email-prefix: '[dlux]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'dlux-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'dlux' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [dlux]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/docs/docs.yaml b/jjb/docs/docs.yaml index 1b506cf4c..d8f8969c3 100644 --- a/jjb/docs/docs.yaml +++ b/jjb/docs/docs.yaml @@ -6,15 +6,15 @@ - project: name: docs jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'docs-verify-{stream}' - 'docs-merge-{stream}' - - 'docs-periodic-{stream}' - - 'docs-distribution-{stream}' - - 'docs-distribution-check-{stream}' - - 'docs-integration-{stream}' - 'docs-sonar' - - 'docs-clm-{stream}' - - 'docs-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'docs' + mvn-settings: 'docs-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'docs-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[docs]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'docs-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'docs-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'docs-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[docs]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'docs-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[docs] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'docs-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'docs-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'docs-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'docs-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: docs - - publishers: - - email-notification: - email-prefix: '[docs]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'docs-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'docs' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [docs]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/faas/faas.yaml b/jjb/faas/faas.yaml index 596e56b72..374e24cc9 100644 --- a/jjb/faas/faas.yaml +++ b/jjb/faas/faas.yaml @@ -6,15 +6,15 @@ - project: name: faas jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'faas-verify-{stream}' - 'faas-merge-{stream}' - - 'faas-periodic-{stream}' - - 'faas-distribution-{stream}' - - 'faas-distribution-check-{stream}' - - 'faas-integration-{stream}' - 'faas-sonar' - - 'faas-clm-{stream}' - - 'faas-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'faas' + mvn-settings: 'faas-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'faas-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[faas]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'faas-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'faas-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'faas-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[faas]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'faas-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[faas] [controller] [yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'faas-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'faas-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'faas-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'faas-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: faas - - publishers: - - email-notification: - email-prefix: '[faas]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'faas-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'faas' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [faas]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/genius/genius.yaml b/jjb/genius/genius.yaml index 9182c8d20..1c446c3bc 100644 --- a/jjb/genius/genius.yaml +++ b/jjb/genius/genius.yaml @@ -6,15 +6,15 @@ - project: name: genius jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'genius-verify-{stream}' - 'genius-merge-{stream}' - - 'genius-periodic-{stream}' - - 'genius-distribution-{stream}' - - 'genius-distribution-check-{stream}' - - 'genius-integration-{stream}' - 'genius-sonar' - - 'genius-clm-{stream}' - - 'genius-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'genius' + mvn-settings: 'genius-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'genius-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[genius]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'genius-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'genius-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'genius-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[genius]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'genius-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'genius-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'genius-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'genius-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'genius-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: genius - - publishers: - - email-notification: - email-prefix: '[genius]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'genius-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'genius' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [genius]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/groupbasedpolicy/groupbasedpolicy.yaml b/jjb/groupbasedpolicy/groupbasedpolicy.yaml index 8399049a2..b54482133 100644 --- a/jjb/groupbasedpolicy/groupbasedpolicy.yaml +++ b/jjb/groupbasedpolicy/groupbasedpolicy.yaml @@ -6,15 +6,15 @@ - project: name: groupbasedpolicy jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'groupbasedpolicy-verify-{stream}' - 'groupbasedpolicy-merge-{stream}' - - 'groupbasedpolicy-periodic-{stream}' - - 'groupbasedpolicy-distribution-{stream}' - - 'groupbasedpolicy-distribution-check-{stream}' - - 'groupbasedpolicy-integration-{stream}' - 'groupbasedpolicy-sonar' - - 'groupbasedpolicy-clm-{stream}' - - 'groupbasedpolicy-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'groupbasedpolicy' + mvn-settings: 'groupbasedpolicy-settings' + mvn-goals: '-U clean install findbugs:findbugs -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'groupbasedpolicy-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[groupbasedpolicy]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'groupbasedpolicy-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'groupbasedpolicy-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'groupbasedpolicy-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[groupbasedpolicy]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'groupbasedpolicy-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream},sfc-merge-{stream},ovsdb-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[groupbasedpolicy] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'groupbasedpolicy-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'groupbasedpolicy-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'groupbasedpolicy-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'groupbasedpolicy-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: groupbasedpolicy - - publishers: - - email-notification: - email-prefix: '[groupbasedpolicy]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'groupbasedpolicy-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'groupbasedpolicy' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [groupbasedpolicy]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/honeycomb/vbd/vbd.yaml b/jjb/honeycomb/vbd/vbd.yaml index 7b7495359..dc248b1c8 100644 --- a/jjb/honeycomb/vbd/vbd.yaml +++ b/jjb/honeycomb/vbd/vbd.yaml @@ -6,15 +6,15 @@ - project: name: vbd jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'vbd-verify-{stream}' - 'vbd-merge-{stream}' - - 'vbd-periodic-{stream}' - - 'vbd-distribution-{stream}' - - 'vbd-distribution-check-{stream}' - - 'vbd-integration-{stream}' - 'vbd-sonar' - - 'vbd-clm-{stream}' - - 'vbd-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'honeycomb/vbd' + mvn-settings: 'honeycomb-vbd-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vbd-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[vbd]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vbd-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - 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 -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'vbd-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[vbd]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vbd-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream},netconf-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[vbd] [odlparent] [yangtools] [controller] [mdsal] [netconf]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'vbd-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vbd-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - 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 com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'honeycomb-vbd-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: vbd - - publishers: - - email-notification: - email-prefix: '[vbd]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vbd-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'honeycomb/vbd' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [vbd]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/infrautils/infrautils.yaml b/jjb/infrautils/infrautils.yaml index 82402a3e5..bf0309584 100644 --- a/jjb/infrautils/infrautils.yaml +++ b/jjb/infrautils/infrautils.yaml @@ -6,15 +6,15 @@ - project: name: infrautils jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'infrautils-verify-{stream}' - 'infrautils-merge-{stream}' - - 'infrautils-periodic-{stream}' - - 'infrautils-distribution-{stream}' - - 'infrautils-distribution-check-{stream}' - - 'infrautils-integration-{stream}' - 'infrautils-sonar' - - 'infrautils-clm-{stream}' - - 'infrautils-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'infrautils' + mvn-settings: 'infrautils-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'infrautils-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[infrautils]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'infrautils-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'infrautils-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'infrautils-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[infrautils]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'infrautils-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[infrautils] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'infrautils-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'infrautils-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'infrautils-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'infrautils-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: infrautils - - publishers: - - email-notification: - email-prefix: '[infrautils]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'infrautils-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'infrautils' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [infrautils]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/integration/distribution/distribution.yaml b/jjb/integration/distribution/distribution.yaml index d5dc9f06a..b3e623002 100644 --- a/jjb/integration/distribution/distribution.yaml +++ b/jjb/integration/distribution/distribution.yaml @@ -6,9 +6,13 @@ - project: name: distribution jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'distribution-sonar' - - 'distribution-clm-{stream}' - - 'distribution-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -31,6 +35,11 @@ disable_distribution_check: False project: 'integration/distribution' + mvn-settings: 'integration-distribution-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -99,167 +108,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'distribution-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - 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 com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: distribution - - publishers: - - email-notification: - email-prefix: '[distribution]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'distribution-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'integration/distribution' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [distribution]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/iotdm/iotdm.yaml b/jjb/iotdm/iotdm.yaml index 78e973012..7f3f46aff 100644 --- a/jjb/iotdm/iotdm.yaml +++ b/jjb/iotdm/iotdm.yaml @@ -6,15 +6,15 @@ - project: name: iotdm jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'iotdm-verify-{stream}' - 'iotdm-merge-{stream}' - - 'iotdm-periodic-{stream}' - - 'iotdm-distribution-{stream}' - - 'iotdm-distribution-check-{stream}' - - 'iotdm-integration-{stream}' - 'iotdm-sonar' - - 'iotdm-clm-{stream}' - - 'iotdm-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'iotdm' + mvn-settings: 'iotdm-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'iotdm-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[iotdm]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'iotdm-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'iotdm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'iotdm-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[iotdm]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'iotdm-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[iotdm] [controller] [yangtools] [odlparent] [aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'iotdm-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'iotdm-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'iotdm-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'iotdm-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: iotdm - - publishers: - - email-notification: - email-prefix: '[iotdm]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'iotdm-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'iotdm' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [iotdm]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/l2switch/l2switch.yaml b/jjb/l2switch/l2switch.yaml index 3aa03f52e..c2dcdbfa3 100644 --- a/jjb/l2switch/l2switch.yaml +++ b/jjb/l2switch/l2switch.yaml @@ -6,15 +6,15 @@ - project: name: l2switch jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'l2switch-verify-{stream}' - 'l2switch-merge-{stream}' - - 'l2switch-periodic-{stream}' - - 'l2switch-distribution-{stream}' - - 'l2switch-distribution-check-{stream}' - - 'l2switch-integration-{stream}' - 'l2switch-sonar' - - 'l2switch-clm-{stream}' - - 'l2switch-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'l2switch' + mvn-settings: 'l2switch-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'l2switch-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[l2switch]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'l2switch-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'l2switch-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'l2switch-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - 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 - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[l2switch]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'l2switch-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'l2switch-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'l2switch-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'l2switch-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'l2switch-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: l2switch - - publishers: - - email-notification: - email-prefix: '[l2switch]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'l2switch-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'l2switch' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [l2switch]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/lacp/lacp.yaml b/jjb/lacp/lacp.yaml index e3be31929..8b26e1542 100644 --- a/jjb/lacp/lacp.yaml +++ b/jjb/lacp/lacp.yaml @@ -6,15 +6,15 @@ - project: name: lacp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'lacp-verify-{stream}' - 'lacp-merge-{stream}' - - 'lacp-periodic-{stream}' - - 'lacp-distribution-{stream}' - - 'lacp-distribution-check-{stream}' - - 'lacp-integration-{stream}' - 'lacp-sonar' - - 'lacp-clm-{stream}' - - 'lacp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'lacp' + mvn-settings: 'lacp-settings' + mvn-goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'lacp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[lacp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lacp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lacp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'lacp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[lacp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lacp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[lacp] [yangtools] [controller] [openflowjava] [openflowplugin] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'lacp-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'lacp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lacp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'lacp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: lacp - - publishers: - - email-notification: - email-prefix: '[lacp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lacp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'lacp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [lacp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/lispflowmapping/lispflowmapping.yaml b/jjb/lispflowmapping/lispflowmapping.yaml index eff1c98fc..394032226 100644 --- a/jjb/lispflowmapping/lispflowmapping.yaml +++ b/jjb/lispflowmapping/lispflowmapping.yaml @@ -6,15 +6,15 @@ - project: name: lispflowmapping jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'lispflowmapping-verify-{stream}' - 'lispflowmapping-merge-{stream}' - - 'lispflowmapping-periodic-{stream}' - - 'lispflowmapping-distribution-{stream}' - - 'lispflowmapping-distribution-check-{stream}' - - 'lispflowmapping-integration-{stream}' - 'lispflowmapping-sonar' - - 'lispflowmapping-clm-{stream}' - - 'lispflowmapping-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'lispflowmapping' + mvn-settings: 'lispflowmapping-settings' + mvn-goals: 'clean install findbugs:findbugs javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'lispflowmapping-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[lispflowmapping]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lispflowmapping-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lispflowmapping-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'lispflowmapping-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[lispflowmapping]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lispflowmapping-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'lispflowmapping-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'lispflowmapping-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'lispflowmapping-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'lispflowmapping-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: lispflowmapping - - publishers: - - email-notification: - email-prefix: '[lispflowmapping]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'lispflowmapping-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'lispflowmapping' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [lispflowmapping]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/mdsal/mdsal.yaml b/jjb/mdsal/mdsal.yaml index 3a8ff0f0f..85713fb31 100644 --- a/jjb/mdsal/mdsal.yaml +++ b/jjb/mdsal/mdsal.yaml @@ -6,15 +6,15 @@ - project: name: mdsal jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'mdsal-verify-{stream}' - 'mdsal-merge-{stream}' - - 'mdsal-periodic-{stream}' - - 'mdsal-distribution-{stream}' - - 'mdsal-distribution-check-{stream}' - - 'mdsal-integration-{stream}' - 'mdsal-sonar' - - 'mdsal-clm-{stream}' - - 'mdsal-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'mdsal' + mvn-settings: 'mdsal-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'mdsal-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'mdsal-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[mdsal]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[mdsal] [odlparent] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'mdsal-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'mdsal-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: mdsal - - publishers: - - email-notification: - email-prefix: '[mdsal]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'mdsal' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [mdsal]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/messaging4transport/messaging4transport.yaml b/jjb/messaging4transport/messaging4transport.yaml index 21ee6bfda..3e55e0521 100644 --- a/jjb/messaging4transport/messaging4transport.yaml +++ b/jjb/messaging4transport/messaging4transport.yaml @@ -6,15 +6,15 @@ - project: name: messaging4transport jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'messaging4transport-verify-{stream}' - 'messaging4transport-merge-{stream}' - - 'messaging4transport-periodic-{stream}' - - 'messaging4transport-distribution-{stream}' - - 'messaging4transport-distribution-check-{stream}' - - 'messaging4transport-integration-{stream}' - 'messaging4transport-sonar' - - 'messaging4transport-clm-{stream}' - - 'messaging4transport-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'messaging4transport' + mvn-settings: 'messaging4transport-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'messaging4transport-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[messaging4transport]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'messaging4transport-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'messaging4transport-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'messaging4transport-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[messaging4transport]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'messaging4transport-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'yangtools-merge-{stream},aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[messaging4transport] [yangtools] [aaa] [controller] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'messaging4transport-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'messaging4transport-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'messaging4transport-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'messaging4transport-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: messaging4transport - - publishers: - - email-notification: - email-prefix: '[messaging4transport]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'messaging4transport-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'messaging4transport' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [messaging4transport]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/natapp/natapp.yaml b/jjb/natapp/natapp.yaml index f65989d0a..b7157d096 100644 --- a/jjb/natapp/natapp.yaml +++ b/jjb/natapp/natapp.yaml @@ -6,15 +6,15 @@ - project: name: natapp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'natapp-verify-{stream}' - 'natapp-merge-{stream}' - - 'natapp-periodic-{stream}' - - 'natapp-distribution-{stream}' - - 'natapp-distribution-check-{stream}' - - 'natapp-integration-{stream}' - 'natapp-sonar' - - 'natapp-clm-{stream}' - - 'natapp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'natapp' + mvn-settings: 'natapp-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'natapp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[natapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'natapp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'natapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'natapp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[natapp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'natapp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[natapp] [controller] [yangtools] [odlparent] [openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'natapp-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'natapp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'natapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'natapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: natapp - - publishers: - - email-notification: - email-prefix: '[natapp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'natapp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'natapp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [natapp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/nemo/nemo.yaml b/jjb/nemo/nemo.yaml index 0671a2010..b4a167adc 100644 --- a/jjb/nemo/nemo.yaml +++ b/jjb/nemo/nemo.yaml @@ -6,15 +6,15 @@ - project: name: nemo jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'nemo-verify-{stream}' - 'nemo-merge-{stream}' - - 'nemo-periodic-{stream}' - - 'nemo-distribution-{stream}' - - 'nemo-distribution-check-{stream}' - - 'nemo-integration-{stream}' - 'nemo-sonar' - - 'nemo-clm-{stream}' - - 'nemo-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'nemo' + mvn-settings: 'nemo-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'nemo-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[nemo]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nemo-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nemo-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'nemo-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[nemo]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nemo-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[nemo] [controller] [yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'nemo-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'nemo-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nemo-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'nemo-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: nemo - - publishers: - - email-notification: - email-prefix: '[nemo]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nemo-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'nemo' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [nemo]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/netconf/netconf.yaml b/jjb/netconf/netconf.yaml index 9be43189b..961780711 100644 --- a/jjb/netconf/netconf.yaml +++ b/jjb/netconf/netconf.yaml @@ -6,15 +6,15 @@ - project: name: netconf jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'netconf-verify-{stream}' - 'netconf-merge-{stream}' - - 'netconf-periodic-{stream}' - - 'netconf-distribution-{stream}' - - 'netconf-distribution-check-{stream}' - - 'netconf-integration-{stream}' - 'netconf-sonar' - - 'netconf-clm-{stream}' - - 'netconf-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'netconf' + mvn-settings: 'netconf-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'netconf-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[netconf]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netconf-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netconf-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'netconf-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[netconf]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netconf-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[netconf] [aaa] [controller] [odlparent] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'netconf-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'netconf-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netconf-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'netconf-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: netconf - - publishers: - - email-notification: - email-prefix: '[netconf]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netconf-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'netconf' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [netconf]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/netide/netide.yaml b/jjb/netide/netide.yaml index 881eaf46a..00713beb5 100644 --- a/jjb/netide/netide.yaml +++ b/jjb/netide/netide.yaml @@ -6,15 +6,15 @@ - project: name: netide jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'netide-verify-{stream}' - 'netide-merge-{stream}' - - 'netide-periodic-{stream}' - - 'netide-distribution-{stream}' - - 'netide-distribution-check-{stream}' - - 'netide-integration-{stream}' - 'netide-sonar' - - 'netide-clm-{stream}' - - 'netide-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'netide' + mvn-settings: 'netide-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'netide-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[netide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netide-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'netide-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[netide]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netide-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[netide] [odlparent] [yangtools] [controller] [openflowjava]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'netide-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'netide-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'netide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: netide - - publishers: - - email-notification: - email-prefix: '[netide]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netide-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'netide' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [netide]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/netvirt/netvirt.yaml b/jjb/netvirt/netvirt.yaml index 3da193d40..9190b01cd 100644 --- a/jjb/netvirt/netvirt.yaml +++ b/jjb/netvirt/netvirt.yaml @@ -6,14 +6,14 @@ - project: name: netvirt jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'netvirt-verify-{stream}' - 'netvirt-merge-{stream}' - - 'netvirt-periodic-{stream}' - - 'netvirt-distribution-{stream}' - - 'netvirt-distribution-check-{stream}' - - 'netvirt-integration-{stream}' - - 'netvirt-clm-{stream}' - - 'netvirt-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -36,6 +36,11 @@ disable_distribution_check: False project: 'netvirt' + mvn-settings: 'netvirt-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -231,470 +236,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'netvirt-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[netvirt]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netvirt-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netvirt-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'netvirt-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[netvirt]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netvirt-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},neutron-merge-{stream},odlparent-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},sfc-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[netvirt] [controller] [neutron] [odlparent] [openflowjava] [openflowplugin] [ovsdb] [sfc] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netvirt-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'netvirt-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'netvirt-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: netvirt - - publishers: - - email-notification: - email-prefix: '[netvirt]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'netvirt-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'netvirt' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [netvirt]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/neutron/neutron.yaml b/jjb/neutron/neutron.yaml index 269f9b625..c7275b8e5 100644 --- a/jjb/neutron/neutron.yaml +++ b/jjb/neutron/neutron.yaml @@ -6,15 +6,15 @@ - project: name: neutron jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'neutron-verify-{stream}' - 'neutron-merge-{stream}' - - 'neutron-periodic-{stream}' - - 'neutron-distribution-{stream}' - - 'neutron-distribution-check-{stream}' - - 'neutron-integration-{stream}' - 'neutron-sonar' - - 'neutron-clm-{stream}' - - 'neutron-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'neutron' + mvn-settings: 'neutron-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'neutron-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'neutron-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'neutron-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'neutron-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[neutron]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'neutron-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},aaa-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[neutron] [odlparent] [aaa]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'neutron-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'neutron-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'neutron-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'neutron-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: neutron - - publishers: - - email-notification: - email-prefix: '[neutron]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'neutron-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'neutron' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [neutron]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/next/next.yaml b/jjb/next/next.yaml index 59e337d29..d520703ed 100644 --- a/jjb/next/next.yaml +++ b/jjb/next/next.yaml @@ -6,15 +6,15 @@ - project: name: next jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'next-verify-{stream}' - 'next-merge-{stream}' - - 'next-periodic-{stream}' - - 'next-distribution-{stream}' - - 'next-distribution-check-{stream}' - - 'next-integration-{stream}' - 'next-sonar' - - 'next-clm-{stream}' - - 'next-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'next' + mvn-settings: 'next-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'next-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[next]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'next-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'next-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'next-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[next]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'next-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[next] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'next-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'next-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'next-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'next-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: next - - publishers: - - email-notification: - email-prefix: '[next]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'next-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'next' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [next]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/nic/nic.yaml b/jjb/nic/nic.yaml index 35f535209..5ee7bbfff 100644 --- a/jjb/nic/nic.yaml +++ b/jjb/nic/nic.yaml @@ -6,15 +6,15 @@ - project: name: nic jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'nic-verify-{stream}' - 'nic-merge-{stream}' - - 'nic-periodic-{stream}' - - 'nic-distribution-{stream}' - - 'nic-distribution-check-{stream}' - - 'nic-integration-{stream}' - 'nic-sonar' - - 'nic-clm-{stream}' - - 'nic-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'nic' + mvn-settings: 'nic-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'nic-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[nic]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nic-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nic-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'nic-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[nic]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nic-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},odlparent-merge-{stream},vtn-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[nic] [controller] [odlparent] [vtn] [yangtools] [groupbasedpolicy]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'nic-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'nic-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'nic-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'nic-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: nic - - publishers: - - email-notification: - email-prefix: '[nic]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'nic-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'nic' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [nic]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/ocpplugin/ocpplugin.yaml b/jjb/ocpplugin/ocpplugin.yaml index 5f5b8e4ba..ba2ea12c6 100644 --- a/jjb/ocpplugin/ocpplugin.yaml +++ b/jjb/ocpplugin/ocpplugin.yaml @@ -6,15 +6,15 @@ - project: name: ocpplugin jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'ocpplugin-verify-{stream}' - 'ocpplugin-merge-{stream}' - - 'ocpplugin-periodic-{stream}' - - 'ocpplugin-distribution-{stream}' - - 'ocpplugin-distribution-check-{stream}' - - 'ocpplugin-integration-{stream}' - 'ocpplugin-sonar' - - 'ocpplugin-clm-{stream}' - - 'ocpplugin-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: False project: 'ocpplugin' + mvn-settings: 'ocpplugin-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'ocpplugin-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ocpplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ocpplugin-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ocpplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'ocpplugin-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[ocpplugin]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ocpplugin-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ocpplugin] [odlparent] [yangtools] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'ocpplugin-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'ocpplugin-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ocpplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'ocpplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: ocpplugin - - publishers: - - email-notification: - email-prefix: '[ocpplugin]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ocpplugin-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'ocpplugin' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [ocpplugin]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/odlparent/odlparent.yaml b/jjb/odlparent/odlparent.yaml index 119229017..892ee4a68 100644 --- a/jjb/odlparent/odlparent.yaml +++ b/jjb/odlparent/odlparent.yaml @@ -6,15 +6,15 @@ - project: name: odlparent jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'odlparent-verify-{stream}' - 'odlparent-merge-{stream}' - - 'odlparent-periodic-{stream}' - - 'odlparent-distribution-{stream}' - - 'odlparent-distribution-check-{stream}' - - 'odlparent-integration-{stream}' - 'odlparent-sonar' - - 'odlparent-clm-{stream}' - - 'odlparent-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'odlparent' + mvn-settings: 'odlparent-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'odlparent-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'odlparent-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'odlparent-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'odlparent-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[odlparent]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'odlparent-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'odlparent-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'odlparent-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'odlparent-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'odlparent-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: odlparent - - publishers: - - email-notification: - email-prefix: '[odlparent]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'odlparent-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'odlparent' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [odlparent]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/of-config/of-config.yaml b/jjb/of-config/of-config.yaml index ac13d26c1..12b587b45 100644 --- a/jjb/of-config/of-config.yaml +++ b/jjb/of-config/of-config.yaml @@ -6,15 +6,15 @@ - project: name: of-config jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'of-config-verify-{stream}' - 'of-config-merge-{stream}' - - 'of-config-periodic-{stream}' - - 'of-config-distribution-{stream}' - - 'of-config-distribution-check-{stream}' - - 'of-config-integration-{stream}' - 'of-config-sonar' - - 'of-config-clm-{stream}' - - 'of-config-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'of-config' + mvn-settings: 'of-config-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'of-config-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[of-config]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'of-config-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - 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 -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'of-config-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[of-config]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'of-config-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},netconf-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[of-config] [controller] [yangtools] [odlparent] [netconf]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'of-config-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'of-config-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - 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 com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'of-config-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: of-config - - publishers: - - email-notification: - email-prefix: '[of-config]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'of-config-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'of-config' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [of-config]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/ofextensions/circuitsw/circuitsw.yaml b/jjb/ofextensions/circuitsw/circuitsw.yaml index ed18776cd..16f76aead 100644 --- a/jjb/ofextensions/circuitsw/circuitsw.yaml +++ b/jjb/ofextensions/circuitsw/circuitsw.yaml @@ -6,15 +6,15 @@ - project: name: circuitsw jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'circuitsw-verify-{stream}' - 'circuitsw-merge-{stream}' - - 'circuitsw-periodic-{stream}' - - 'circuitsw-distribution-{stream}' - - 'circuitsw-distribution-check-{stream}' - - 'circuitsw-integration-{stream}' - 'circuitsw-sonar' - - 'circuitsw-clm-{stream}' - - 'circuitsw-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'ofextensions/circuitsw' + mvn-settings: 'ofextensions-circuitsw-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'circuitsw-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[circuitsw]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'circuitsw-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - 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 -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'circuitsw-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[circuitsw]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'circuitsw-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[circuitsw] [odlparent] [yangtools] [controller] [openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'circuitsw-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'circuitsw-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - 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 com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'ofextensions-circuitsw-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: circuitsw - - publishers: - - email-notification: - email-prefix: '[circuitsw]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'circuitsw-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'ofextensions/circuitsw' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [circuitsw]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/openflowjava/openflowjava.yaml b/jjb/openflowjava/openflowjava.yaml index 4effcce8b..c1e8c32da 100644 --- a/jjb/openflowjava/openflowjava.yaml +++ b/jjb/openflowjava/openflowjava.yaml @@ -6,15 +6,15 @@ - project: name: openflowjava jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'openflowjava-verify-{stream}' - 'openflowjava-merge-{stream}' - - 'openflowjava-periodic-{stream}' - - 'openflowjava-distribution-{stream}' - - 'openflowjava-distribution-check-{stream}' - - 'openflowjava-integration-{stream}' - 'openflowjava-sonar' - - 'openflowjava-clm-{stream}' - - 'openflowjava-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'openflowjava' + mvn-settings: 'openflowjava-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'openflowjava-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[openflowjava]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowjava-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowjava-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'openflowjava-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[openflowjava]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowjava-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[openflowjava] [odlparent] [yangtools] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'openflowjava-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'openflowjava-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowjava-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'openflowjava-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: openflowjava - - publishers: - - email-notification: - email-prefix: '[openflowjava]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowjava-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'openflowjava' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [openflowjava]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/openflowplugin/openflowplugin.yaml b/jjb/openflowplugin/openflowplugin.yaml index 52a2f5e26..509661d37 100644 --- a/jjb/openflowplugin/openflowplugin.yaml +++ b/jjb/openflowplugin/openflowplugin.yaml @@ -6,15 +6,15 @@ - project: name: openflowplugin jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'openflowplugin-verify-{stream}' - 'openflowplugin-merge-{stream}' - - 'openflowplugin-periodic-{stream}' - - 'openflowplugin-distribution-{stream}' - - 'openflowplugin-distribution-check-{stream}' - - 'openflowplugin-integration-{stream}' - 'openflowplugin-sonar' - - 'openflowplugin-clm-{stream}' - - 'openflowplugin-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'openflowplugin' + mvn-settings: 'openflowplugin-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'openflowplugin-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[openflowplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowplugin-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'openflowplugin-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[openflowplugin]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowplugin-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'openflowplugin-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'openflowplugin-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'openflowplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'openflowplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: openflowplugin - - publishers: - - email-notification: - email-prefix: '[openflowplugin]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'openflowplugin-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'openflowplugin' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [openflowplugin]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/ovsdb/ovsdb.yaml b/jjb/ovsdb/ovsdb.yaml index 0244ec563..f10e7745f 100644 --- a/jjb/ovsdb/ovsdb.yaml +++ b/jjb/ovsdb/ovsdb.yaml @@ -6,14 +6,14 @@ - project: name: ovsdb jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'ovsdb-verify-{stream}' - 'ovsdb-merge-{stream}' - - 'ovsdb-periodic-{stream}' - - 'ovsdb-distribution-{stream}' - - 'ovsdb-distribution-check-{stream}' - - 'ovsdb-integration-{stream}' - - 'ovsdb-clm-{stream}' - - 'ovsdb-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -43,6 +43,11 @@ disable_distribution_check: True project: 'ovsdb' + mvn-settings: 'ovsdb-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -238,470 +243,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'ovsdb-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ovsdb]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ovsdb-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ovsdb-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'ovsdb-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[ovsdb]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ovsdb-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ovsdb] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ovsdb-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ovsdb-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'ovsdb-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: ovsdb - - publishers: - - email-notification: - email-prefix: '[ovsdb]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ovsdb-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'ovsdb' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [ovsdb]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/packetcable/packetcable.yaml b/jjb/packetcable/packetcable.yaml index ad40d9112..363d88233 100644 --- a/jjb/packetcable/packetcable.yaml +++ b/jjb/packetcable/packetcable.yaml @@ -6,15 +6,15 @@ - project: name: packetcable jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'packetcable-verify-{stream}' - 'packetcable-merge-{stream}' - - 'packetcable-periodic-{stream}' - - 'packetcable-distribution-{stream}' - - 'packetcable-distribution-check-{stream}' - - 'packetcable-integration-{stream}' - 'packetcable-sonar' - - 'packetcable-clm-{stream}' - - 'packetcable-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'packetcable' + mvn-settings: 'packetcable-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'packetcable-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[packetcable]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'packetcable-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'packetcable-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'packetcable-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[packetcable]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'packetcable-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[packetcable] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'packetcable-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'packetcable-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'packetcable-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'packetcable-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: packetcable - - publishers: - - email-notification: - email-prefix: '[packetcable]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'packetcable-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'packetcable' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [packetcable]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/persistence/persistence.yaml b/jjb/persistence/persistence.yaml index e40d83d44..f81e31ac9 100644 --- a/jjb/persistence/persistence.yaml +++ b/jjb/persistence/persistence.yaml @@ -6,15 +6,15 @@ - project: name: persistence jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'persistence-verify-{stream}' - 'persistence-merge-{stream}' - - 'persistence-periodic-{stream}' - - 'persistence-distribution-{stream}' - - 'persistence-distribution-check-{stream}' - - 'persistence-integration-{stream}' - 'persistence-sonar' - - 'persistence-clm-{stream}' - - 'persistence-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -46,6 +46,11 @@ disable_distribution_check: True project: 'persistence' + mvn-settings: 'persistence-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -241,309 +246,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'persistence-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[persistence]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'persistence-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'persistence-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'persistence-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[persistence]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'persistence-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[persistence] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'persistence-sonar' disabled: false @@ -605,167 +307,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'persistence-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'persistence-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'persistence-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: persistence - - publishers: - - email-notification: - email-prefix: '[persistence]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'persistence-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'persistence' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [persistence]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/reservation/reservation.yaml b/jjb/reservation/reservation.yaml index e62bccebb..89a1df7e7 100644 --- a/jjb/reservation/reservation.yaml +++ b/jjb/reservation/reservation.yaml @@ -6,15 +6,15 @@ - project: name: reservation jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'reservation-verify-{stream}' - 'reservation-merge-{stream}' - - 'reservation-periodic-{stream}' - - 'reservation-distribution-{stream}' - - 'reservation-distribution-check-{stream}' - - 'reservation-integration-{stream}' - 'reservation-sonar' - - 'reservation-clm-{stream}' - - 'reservation-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'reservation' + mvn-settings: 'reservation-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'reservation-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[reservation]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'reservation-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'reservation-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'reservation-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[reservation]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'reservation-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[reservation] [odlparent] [controller] [yangtools] [groupbasedpolicy]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'reservation-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'reservation-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'reservation-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'reservation-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: reservation - - publishers: - - email-notification: - email-prefix: '[reservation]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'reservation-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'reservation' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [reservation]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/sdninterfaceapp/sdninterfaceapp.yaml b/jjb/sdninterfaceapp/sdninterfaceapp.yaml index 5dcf65145..f0aa7b807 100644 --- a/jjb/sdninterfaceapp/sdninterfaceapp.yaml +++ b/jjb/sdninterfaceapp/sdninterfaceapp.yaml @@ -6,15 +6,15 @@ - project: name: sdninterfaceapp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'sdninterfaceapp-verify-{stream}' - 'sdninterfaceapp-merge-{stream}' - - 'sdninterfaceapp-periodic-{stream}' - - 'sdninterfaceapp-distribution-{stream}' - - 'sdninterfaceapp-distribution-check-{stream}' - - 'sdninterfaceapp-integration-{stream}' - 'sdninterfaceapp-sonar' - - 'sdninterfaceapp-clm-{stream}' - - 'sdninterfaceapp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'sdninterfaceapp' + mvn-settings: 'sdninterfaceapp-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sdninterfaceapp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[sdninterfaceapp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sdninterfaceapp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sdninterfaceapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'sdninterfaceapp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[sdninterfaceapp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sdninterfaceapp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},bgpcep-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[sdninterfaceapp] [odlparent] [bgpcep]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'sdninterfaceapp-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sdninterfaceapp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sdninterfaceapp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'sdninterfaceapp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: sdninterfaceapp - - publishers: - - email-notification: - email-prefix: '[sdninterfaceapp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sdninterfaceapp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'sdninterfaceapp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [sdninterfaceapp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/sfc/sfc.yaml b/jjb/sfc/sfc.yaml index 3010a2f74..7366c370d 100644 --- a/jjb/sfc/sfc.yaml +++ b/jjb/sfc/sfc.yaml @@ -6,15 +6,15 @@ - project: name: sfc jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'sfc-verify-{stream}' - 'sfc-merge-{stream}' - - 'sfc-periodic-{stream}' - - 'sfc-distribution-{stream}' - - 'sfc-distribution-check-{stream}' - - 'sfc-integration-{stream}' - 'sfc-sonar' - - 'sfc-clm-{stream}' - - 'sfc-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'sfc' + mvn-settings: 'sfc-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sfc-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[sfc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sfc-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sfc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'sfc-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[sfc]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sfc-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'sfc-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sfc-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sfc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'sfc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: sfc - - publishers: - - email-notification: - email-prefix: '[sfc]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sfc-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'sfc' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [sfc]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/snbi/snbi.yaml b/jjb/snbi/snbi.yaml index f3c875ef1..33ba550f5 100644 --- a/jjb/snbi/snbi.yaml +++ b/jjb/snbi/snbi.yaml @@ -6,15 +6,15 @@ - project: name: snbi jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'snbi-verify-{stream}' - 'snbi-merge-{stream}' - - 'snbi-periodic-{stream}' - - 'snbi-distribution-{stream}' - - 'snbi-distribution-check-{stream}' - - 'snbi-integration-{stream}' - 'snbi-sonar' - - 'snbi-clm-{stream}' - - 'snbi-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'snbi' + mvn-settings: 'snbi-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snbi-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snbi]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snbi-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snbi-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'snbi-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[snbi]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snbi-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snbi] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'snbi-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snbi-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snbi-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'snbi-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: snbi - - publishers: - - email-notification: - email-prefix: '[snbi]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snbi-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'snbi' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [snbi]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/snmp/snmp.yaml b/jjb/snmp/snmp.yaml index 004edfc75..62337591c 100644 --- a/jjb/snmp/snmp.yaml +++ b/jjb/snmp/snmp.yaml @@ -6,15 +6,15 @@ - project: name: snmp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'snmp-verify-{stream}' - 'snmp-merge-{stream}' - - 'snmp-periodic-{stream}' - - 'snmp-distribution-{stream}' - - 'snmp-distribution-check-{stream}' - - 'snmp-integration-{stream}' - 'snmp-sonar' - - 'snmp-clm-{stream}' - - 'snmp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'snmp' + mvn-settings: 'snmp-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snmp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snmp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'snmp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[snmp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snmp] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'snmp-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snmp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'snmp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: snmp - - publishers: - - email-notification: - email-prefix: '[snmp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'snmp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [snmp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/snmp4sdn/snmp4sdn.yaml b/jjb/snmp4sdn/snmp4sdn.yaml index 4531e7ad2..b243bbd16 100644 --- a/jjb/snmp4sdn/snmp4sdn.yaml +++ b/jjb/snmp4sdn/snmp4sdn.yaml @@ -6,15 +6,15 @@ - project: name: snmp4sdn jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'snmp4sdn-verify-{stream}' - 'snmp4sdn-merge-{stream}' - - 'snmp4sdn-periodic-{stream}' - - 'snmp4sdn-distribution-{stream}' - - 'snmp4sdn-distribution-check-{stream}' - - 'snmp4sdn-integration-{stream}' - 'snmp4sdn-sonar' - - 'snmp4sdn-clm-{stream}' - - 'snmp4sdn-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'snmp4sdn' + mvn-settings: 'snmp4sdn-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snmp4sdn-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snmp4sdn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp4sdn-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp4sdn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'snmp4sdn-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[snmp4sdn]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp4sdn-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[snmp4sdn] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'snmp4sdn-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'snmp4sdn-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'snmp4sdn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'snmp4sdn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: snmp4sdn - - publishers: - - email-notification: - email-prefix: '[snmp4sdn]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'snmp4sdn-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'snmp4sdn' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [snmp4sdn]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/sxp/sxp.yaml b/jjb/sxp/sxp.yaml index 3a014250e..29fcf2a5a 100644 --- a/jjb/sxp/sxp.yaml +++ b/jjb/sxp/sxp.yaml @@ -6,15 +6,15 @@ - project: name: sxp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'sxp-verify-{stream}' - 'sxp-merge-{stream}' - - 'sxp-periodic-{stream}' - - 'sxp-distribution-{stream}' - - 'sxp-distribution-check-{stream}' - - 'sxp-integration-{stream}' - 'sxp-sonar' - - 'sxp-clm-{stream}' - - 'sxp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'sxp' + mvn-settings: 'sxp-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sxp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[sxp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sxp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sxp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'sxp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[sxp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sxp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[sxp] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'sxp-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'sxp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'sxp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'sxp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: sxp - - publishers: - - email-notification: - email-prefix: '[sxp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'sxp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'sxp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [sxp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/tcpmd5/tcpmd5.yaml b/jjb/tcpmd5/tcpmd5.yaml index ccc77a54a..9078c40b9 100644 --- a/jjb/tcpmd5/tcpmd5.yaml +++ b/jjb/tcpmd5/tcpmd5.yaml @@ -6,15 +6,15 @@ - project: name: tcpmd5 jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'tcpmd5-verify-{stream}' - 'tcpmd5-merge-{stream}' - - 'tcpmd5-periodic-{stream}' - - 'tcpmd5-distribution-{stream}' - - 'tcpmd5-distribution-check-{stream}' - - 'tcpmd5-integration-{stream}' - 'tcpmd5-sonar' - - 'tcpmd5-clm-{stream}' - - 'tcpmd5-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'tcpmd5' + mvn-settings: 'tcpmd5-settings' + mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'tcpmd5-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[tcpmd5]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tcpmd5-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tcpmd5-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'tcpmd5-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[tcpmd5]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tcpmd5-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[tcpmd5] [odlparent] [yangtools] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'tcpmd5-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'tcpmd5-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tcpmd5-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'tcpmd5-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: tcpmd5 - - publishers: - - email-notification: - email-prefix: '[tcpmd5]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tcpmd5-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'tcpmd5' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [tcpmd5]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/toolkit/toolkit.yaml b/jjb/toolkit/toolkit.yaml index 6cd6d27a2..9c5ca1974 100644 --- a/jjb/toolkit/toolkit.yaml +++ b/jjb/toolkit/toolkit.yaml @@ -6,15 +6,15 @@ - project: name: toolkit jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'toolkit-verify-{stream}' - 'toolkit-merge-{stream}' - - 'toolkit-periodic-{stream}' - - 'toolkit-distribution-{stream}' - - 'toolkit-distribution-check-{stream}' - - 'toolkit-integration-{stream}' - 'toolkit-sonar' - - 'toolkit-clm-{stream}' - - 'toolkit-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -36,6 +36,11 @@ disable_distribution_check: False project: 'toolkit' + mvn-settings: 'toolkit-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -231,309 +236,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'toolkit-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[toolkit]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'toolkit-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'toolkit-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'toolkit-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[toolkit]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'toolkit-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[toolkit] [odlparent] [controller]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'toolkit-sonar' disabled: false @@ -595,167 +297,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'toolkit-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'toolkit-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'toolkit-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: toolkit - - publishers: - - email-notification: - email-prefix: '[toolkit]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'toolkit-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'toolkit' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [toolkit]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/topoprocessing/topoprocessing.yaml b/jjb/topoprocessing/topoprocessing.yaml index bdc49d1bf..a03dac7f2 100644 --- a/jjb/topoprocessing/topoprocessing.yaml +++ b/jjb/topoprocessing/topoprocessing.yaml @@ -6,15 +6,15 @@ - project: name: topoprocessing jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'topoprocessing-verify-{stream}' - 'topoprocessing-merge-{stream}' - - 'topoprocessing-periodic-{stream}' - - 'topoprocessing-distribution-{stream}' - - 'topoprocessing-distribution-check-{stream}' - - 'topoprocessing-integration-{stream}' - 'topoprocessing-sonar' - - 'topoprocessing-clm-{stream}' - - 'topoprocessing-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'topoprocessing' + mvn-settings: 'topoprocessing-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'topoprocessing-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[topoprocessing]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'topoprocessing-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'topoprocessing-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'topoprocessing-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[topoprocessing]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'topoprocessing-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'topoprocessing-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'topoprocessing-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'topoprocessing-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'topoprocessing-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: topoprocessing - - publishers: - - email-notification: - email-prefix: '[topoprocessing]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'topoprocessing-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'topoprocessing' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [topoprocessing]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/tsdr/tsdr.yaml b/jjb/tsdr/tsdr.yaml index ddbae85a3..9ac61f773 100644 --- a/jjb/tsdr/tsdr.yaml +++ b/jjb/tsdr/tsdr.yaml @@ -6,15 +6,15 @@ - project: name: tsdr jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'tsdr-verify-{stream}' - 'tsdr-merge-{stream}' - - 'tsdr-periodic-{stream}' - - 'tsdr-distribution-{stream}' - - 'tsdr-distribution-check-{stream}' - - 'tsdr-integration-{stream}' - 'tsdr-sonar' - - 'tsdr-clm-{stream}' - - 'tsdr-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'tsdr' + mvn-settings: 'tsdr-settings' + mvn-goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'tsdr-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[tsdr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tsdr-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tsdr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'tsdr-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[tsdr]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tsdr-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[tsdr] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'tsdr-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'tsdr-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'tsdr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'tsdr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: tsdr - - publishers: - - email-notification: - email-prefix: '[tsdr]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'tsdr-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'tsdr' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [tsdr]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/ttp/ttp.yaml b/jjb/ttp/ttp.yaml index a416f720f..3355785d8 100644 --- a/jjb/ttp/ttp.yaml +++ b/jjb/ttp/ttp.yaml @@ -6,15 +6,15 @@ - project: name: ttp jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'ttp-verify-{stream}' - 'ttp-merge-{stream}' - - 'ttp-periodic-{stream}' - - 'ttp-distribution-{stream}' - - 'ttp-distribution-check-{stream}' - - 'ttp-integration-{stream}' - 'ttp-sonar' - - 'ttp-clm-{stream}' - - 'ttp-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'ttp' + mvn-settings: 'ttp-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'ttp-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ttp]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ttp-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ttp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'ttp-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[ttp]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ttp-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[ttp] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'ttp-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'ttp-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'ttp-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'ttp-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: ttp - - publishers: - - email-notification: - email-prefix: '[ttp]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'ttp-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'ttp' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [ttp]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/unimgr/unimgr.yaml b/jjb/unimgr/unimgr.yaml index 7af076f7a..911ae6bcd 100644 --- a/jjb/unimgr/unimgr.yaml +++ b/jjb/unimgr/unimgr.yaml @@ -6,15 +6,15 @@ - project: name: unimgr jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'unimgr-verify-{stream}' - 'unimgr-merge-{stream}' - - 'unimgr-periodic-{stream}' - - 'unimgr-distribution-{stream}' - - 'unimgr-distribution-check-{stream}' - - 'unimgr-integration-{stream}' - 'unimgr-sonar' - - 'unimgr-clm-{stream}' - - 'unimgr-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'unimgr' + mvn-settings: 'unimgr-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'unimgr-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[unimgr]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'unimgr-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'unimgr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'unimgr-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[unimgr]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'unimgr-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},ovsdb-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[unimgr] [odlparent] [yangtools] [controller] [ovsdb]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'unimgr-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'unimgr-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'unimgr-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'unimgr-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: unimgr - - publishers: - - email-notification: - email-prefix: '[unimgr]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'unimgr-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'unimgr' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [unimgr]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/usc/usc.yaml b/jjb/usc/usc.yaml index f6c3fa43d..713dce77f 100644 --- a/jjb/usc/usc.yaml +++ b/jjb/usc/usc.yaml @@ -6,15 +6,15 @@ - project: name: usc jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'usc-verify-{stream}' - 'usc-merge-{stream}' - - 'usc-periodic-{stream}' - - 'usc-distribution-{stream}' - - 'usc-distribution-check-{stream}' - - 'usc-integration-{stream}' - 'usc-sonar' - - 'usc-clm-{stream}' - - 'usc-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -45,6 +45,11 @@ disable_distribution_check: True project: 'usc' + mvn-settings: 'usc-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -240,309 +245,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'usc-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[usc]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usc-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'usc-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[usc]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usc-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[usc] [controller] [yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'usc-sonar' disabled: false @@ -604,167 +306,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'usc-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usc-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'usc-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: usc - - publishers: - - email-notification: - email-prefix: '[usc]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usc-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'usc' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [usc]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/usecplugin/usecplugin.yaml b/jjb/usecplugin/usecplugin.yaml index 561dacd63..2de158b46 100644 --- a/jjb/usecplugin/usecplugin.yaml +++ b/jjb/usecplugin/usecplugin.yaml @@ -6,15 +6,15 @@ - project: name: usecplugin jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'usecplugin-verify-{stream}' - 'usecplugin-merge-{stream}' - - 'usecplugin-periodic-{stream}' - - 'usecplugin-distribution-{stream}' - - 'usecplugin-distribution-check-{stream}' - - 'usecplugin-integration-{stream}' - 'usecplugin-sonar' - - 'usecplugin-clm-{stream}' - - 'usecplugin-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'usecplugin' + mvn-settings: 'usecplugin-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'usecplugin-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[usecplugin]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usecplugin-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usecplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'usecplugin-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[usecplugin]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usecplugin-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'openflowplugin-merge-{stream},odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[usecplugin] [openflowplugin] [odlparent] [controller] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'usecplugin-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'usecplugin-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'usecplugin-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'usecplugin-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: usecplugin - - publishers: - - email-notification: - email-prefix: '[usecplugin]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'usecplugin-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'usecplugin' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [usecplugin]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/vpnservice/vpnservice.yaml b/jjb/vpnservice/vpnservice.yaml index b81aa8553..069e74df2 100644 --- a/jjb/vpnservice/vpnservice.yaml +++ b/jjb/vpnservice/vpnservice.yaml @@ -6,15 +6,15 @@ - project: name: vpnservice jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'vpnservice-verify-{stream}' - 'vpnservice-merge-{stream}' - - 'vpnservice-periodic-{stream}' - - 'vpnservice-distribution-{stream}' - - 'vpnservice-distribution-check-{stream}' - - 'vpnservice-integration-{stream}' - 'vpnservice-sonar' - - 'vpnservice-clm-{stream}' - - 'vpnservice-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'vpnservice' + mvn-settings: 'vpnservice-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vpnservice-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[vpnservice]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vpnservice-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vpnservice-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'vpnservice-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[vpnservice]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vpnservice-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[vpnservice] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'vpnservice-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vpnservice-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vpnservice-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'vpnservice-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: vpnservice - - publishers: - - email-notification: - email-prefix: '[vpnservice]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vpnservice-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'vpnservice' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [vpnservice]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index 70b05aefa..0441c8ef1 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -6,15 +6,15 @@ - project: name: vtn jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'vtn-verify-{stream}' - 'vtn-merge-{stream}' - - 'vtn-periodic-{stream}' - - 'vtn-distribution-{stream}' - - 'vtn-distribution-check-{stream}' - - 'vtn-integration-{stream}' - 'vtn-sonar' - - 'vtn-clm-{stream}' - - 'vtn-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'vtn' + mvn-settings: 'vtn-settings' + mvn-goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + 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) @@ -239,309 +244,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vtn-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[vtn]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vtn-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - 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 -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'vtn-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[vtn]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vtn-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},mdsal-merge-{stream},neutron-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[vtn] [controller] [mdsal] [neutron] [odlparent] [openflowplugin] [ovsdb] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'vtn-sonar' disabled: false @@ -603,167 +305,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'vtn-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'vtn-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'vtn-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: vtn - - publishers: - - email-notification: - email-prefix: '[vtn]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'vtn-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'vtn' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [vtn]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/yang-push/yang-push.yaml b/jjb/yang-push/yang-push.yaml index a1115bf8c..873ed19ea 100644 --- a/jjb/yang-push/yang-push.yaml +++ b/jjb/yang-push/yang-push.yaml @@ -6,15 +6,15 @@ - project: name: yang-push jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'yang-push-verify-{stream}' - 'yang-push-merge-{stream}' - - 'yang-push-periodic-{stream}' - - 'yang-push-distribution-{stream}' - - 'yang-push-distribution-check-{stream}' - - 'yang-push-integration-{stream}' - 'yang-push-sonar' - - 'yang-push-clm-{stream}' - - 'yang-push-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -37,6 +37,11 @@ disable_distribution_check: False project: 'yang-push' + mvn-settings: 'yang-push-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -232,309 +237,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yang-push-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - 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: - - email-notification: - email-prefix: '[yang-push]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yang-push-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - 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 -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'yang-push-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[yang-push]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yang-push-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}' - result: 'success' - - 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' - 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: - - email-notification: - email-prefix: '[yang-push] [controller] [yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'yang-push-sonar' disabled: false @@ -596,167 +298,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yang-push-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - 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 com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'yang-push-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: yang-push - - publishers: - - email-notification: - email-prefix: '[yang-push]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yang-push-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'yang-push' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [yang-push]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/yangide/yangide.yaml b/jjb/yangide/yangide.yaml index f7f73c767..e7a489fe4 100644 --- a/jjb/yangide/yangide.yaml +++ b/jjb/yangide/yangide.yaml @@ -6,15 +6,15 @@ - project: name: yangide jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'yangide-verify-{stream}' - 'yangide-merge-{stream}' - - 'yangide-periodic-{stream}' - - 'yangide-distribution-{stream}' - - 'yangide-distribution-check-{stream}' - - 'yangide-integration-{stream}' - 'yangide-sonar' - - 'yangide-clm-{stream}' - - 'yangide-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -29,6 +29,11 @@ disable_distribution_check: True project: 'yangide' + mvn-settings: 'yangide-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -224,309 +229,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yangide-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[yangide]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangide-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'yangide-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[yangide]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangide-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},yangtools-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[yangide] [odlparent] [yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'yangide-sonar' disabled: false @@ -588,167 +290,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yangide-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangide-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'yangide-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: yangide - - publishers: - - email-notification: - email-prefix: '[yangide]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangide-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'yangide' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [yangide]' - - archive-build: - maven-version: '{mvn33}' - diff --git a/jjb/yangtools/yangtools.yaml b/jjb/yangtools/yangtools.yaml index f13e63421..61b05cbbe 100644 --- a/jjb/yangtools/yangtools.yaml +++ b/jjb/yangtools/yangtools.yaml @@ -6,14 +6,14 @@ - project: name: yangtools jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'yangtools-merge-{stream}' - - 'yangtools-periodic-{stream}' - - 'yangtools-distribution-{stream}' - - 'yangtools-distribution-check-{stream}' - - 'yangtools-integration-{stream}' - 'yangtools-sonar' - - 'yangtools-clm-{stream}' - - 'yangtools-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) @@ -44,6 +44,11 @@ disable_distribution_check: True project: 'yangtools' + mvn-settings: 'yangtools-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + 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) @@ -163,309 +168,6 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yangtools-periodic-{stream}' - disabled: false - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[yangtools]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangtools-distribution-{stream}' - - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangtools-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'integration-distribution-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-prefix: '[{project}]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - archive-build: - maven-version: '{mvn33}' - -# Template: integration-patch-distribution-{stream} -# Goal: Build a patch and make sure the distribution can deploy with this change -# Operation: This job template builds a patch, creates a distribution containing -# the patch, and triggers the distribution deploy test - -- job-template: - name: 'yangtools-distribution-check-{stream}' - disabled: '{obj:disable_distribution_check}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - project-parameter: - project: '{project}' - - integration-distribution-git-url - - scm: - - integration-gerrit-scm: - basedir: '$GERRIT_PROJECT' - refspec: '$GERRIT_REFSPEC' - branch: '{branch}' - - integration-distribution-scm: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'test-distribution' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '{name}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: false - failed: false - unstable: false - notbuilt: false - - prebuilders: - - maven-target: - maven-version: '{mvn33}' - pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' - java-opts: - - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'distribution/pom.xml' - goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - ignore-upstream-changes: true - post-step-run-condition: 'SUCCESS' - - postbuilders: - - integration-distribution-check - - publishers: - - email-notification: - email-prefix: '[yangtools]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: False - script-only-if-failed: False - mark-unstable-if-failed: True - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangtools-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # 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: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream}' - result: 'success' - - 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' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[yangtools] [odlparent]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - - job-template: name: 'yangtools-sonar' disabled: false @@ -527,167 +229,3 @@ - archive-build: maven-version: '{mvn33}' -- job-template: - name: 'yangtools-clm-{stream}' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - prebuilders: - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'yangtools-settings' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: 'yangtools-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - postbuilders: - - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - - check-clm: - application-name: yangtools - - publishers: - - email-notification: - email-prefix: '[yangtools]' - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'yangtools-validate-autorelease-{stream}' - disabled: '{obj:disable_autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - string: - name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' - description: "Autorelease clone URL" - - scm: - - git: - url: '$CLONE_URL' - credentials-id: 'opendaylight-jenkins-ssh' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - timeout: 60 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - - comment-added-contains-event: - comment-contains-value: 'reverify' - - comment-added-contains-event: - comment-contains-value: 'revalidate' - projects: - - project-compare-type: 'ANT' - project-pattern: 'yangtools' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: '**/*.xml' - - prebuilders: - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-release-patches - - maven-target: - maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: 'autorelease-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - autorelease-sys-stats - - publishers: - - email-notification: - email-prefix: '[autorelease] [yangtools]' - - archive-build: - maven-version: '{mvn33}' - -- 2.36.6