X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fnic%2Fnic.yaml;h=1a557cd744009b462a2f30269e42134b01497c24;hb=7df47337b6820e60a41272e411da258ab66cba13;hp=fef046265b947583ad06dbccd2a2180d4def01ad;hpb=6d433e51efb8ae2b6f55efa55fdac1a498be7942;p=releng%2Fbuilder.git diff --git a/jjb/nic/nic.yaml b/jjb/nic/nic.yaml index fef046265..1a557cd74 100644 --- a/jjb/nic/nic.yaml +++ b/jjb/nic/nic.yaml @@ -9,8 +9,10 @@ - 'nic-verify-{stream}' - 'nic-merge-{stream}' - 'nic-daily-{stream}' + - 'nic-distribution-{stream}' - 'nic-integration-{stream}' - 'nic-sonar' + - 'nic-clm' # stream: branch with - in place of / (eg. stable-helium) @@ -18,9 +20,16 @@ stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'nic' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -50,9 +59,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -75,7 +82,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: @@ -95,6 +103,7 @@ - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[nic]' - jacoco-report @@ -134,7 +143,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -155,8 +165,10 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - - email-notification: email-prefix: '[nic]' - maven-deploy: @@ -200,7 +212,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -219,19 +232,76 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[nic]' - jacoco-report +- job-template: + name: 'nic-distribution-{stream}' + + 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' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - reverse: + jobs: '{project}-merge-{stream}' + result: 'success' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn32}' + root-pom: 'pom.xml' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + settings: '{integration-settings}' + global-settings: '{odl-global-settings}' + + publishers: + - email-notification: + email-prefix: '[{project}]' + - maven-deploy: + id: '' + unique-version: true + deploy-unstable: false + - job-template: name: 'nic-integration-{stream}' disabled: false - # Job template for ODL merge jobs + # Job template for ODL integration verify jobs # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. + # 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: branch with - in place of / (eg. stable-helium) @@ -260,11 +330,12 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: - jobs: 'odlparent-merge-{stream}' + jobs: 'controller-merge-{stream},odlparent-merge-{stream},vtn-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' result: 'success' prebuilders: @@ -281,9 +352,12 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: - email-prefix: '[nic] [odlparent]' + email-prefix: '[nic] [controller] [odlparent] [vtn] [yangtools] [groupbasedpolicy]' - jacoco-report - job-template: @@ -291,7 +365,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -312,7 +386,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -328,6 +403,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -336,3 +414,54 @@ email-prefix: '[nic]' - jacoco-report +- job-template: + name: 'nic-clm' + + project-type: maven + node: dynamic_verify + jdk: 'openjdk7' + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: 'master' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '@weekly' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn32}' + root-pom: 'pom.xml' + goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' + settings: '{nic-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: nic + + publishers: + - email-notification: + email-prefix: '[nic]' +