# disable the firewall
service iptables stop
+# install sshpass
+yum install -y sshpass
+
# vim: sw=2 ts=2 sts=2 et :
+
+cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
+Defaults:jenkins !requiretty
+jenkins ALL = NOPASSWD: /sbin/iptables
+EOF
#!/bin/bash
+# for whatever reason netopeer & CPqD aren't installed (they weren't in
+# one of the yum repos we were hooked up to when the base image was
+# built, they are now. Make sure they're install
+yum install -q -y netopeer-server-sl CPqD-ofsoftswitch13
+
+# the vagrant configuration for netopeer doesn't configure SSH correctly
+# as it uses and here document via echo and not cat fix that
+cat << EOSSH >> /etc/ssh/sshd_config
+
+# Added for netconf / netopeer testing
+Port 22
+Port 830
+Subsystem netconf /usr/bin/netopeer-server-sl
+EOSSH
+
+# sshd has to get a restart because of the above
+service sshd restart
+
+# found out while doing testing to fix netopeer that the selinux perms
+# aren't set correctly (thanks Rackspace for having an EL6 image that
+# didn't have selinux on at first!) fix it so that the password can be
+# set
+/sbin/restorecon -R /etc
+
# According to Luis in RT7956 the controller SSH capabilities require
# that for NETCONF it uses a password (how broken!) So we're going to
# force a password onto the jenkins user
--- /dev/null
+- job-template:
+ name: 'PROJECT-clm'
+
+ 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:
+ 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: '{PROJECT-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: PROJECT
+
+ publishers:
+ - email-notification:
+ email-prefix: '[PROJECT]'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[PROJECT]'
- jacoco-report
- 'aaa-daily-{stream}'
- 'aaa-integration-{stream}'
- 'aaa-sonar'
+ - 'aaa-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[aaa]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[aaa]'
- jacoco-report
+- job-template:
+ name: 'aaa-clm'
+
+ 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:
+ 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: '{aaa-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: aaa
+
+ publishers:
+ - email-notification:
+ email-prefix: '[aaa]'
+
- 'alto-daily-{stream}'
- 'alto-integration-{stream}'
- 'alto-sonar'
+ - 'alto-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[alto]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[alto]'
- jacoco-report
+- job-template:
+ name: 'alto-clm'
+
+ 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:
+ 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: '{alto-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: alto
+
+ publishers:
+ - email-notification:
+ email-prefix: '[alto]'
+
# Lithium build jobs
- project:
- name: autorelease
+ name: autorelease-lithium
jobs:
- 'autorelease-daily-lithium'
+ - 'autorelease-release-lithium'
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
- stream:
- - master:
- branch: 'master'
-
+ branch: 'stable/lithium'
project: 'releng/autorelease'
jdk: 'openjdk7'
project: '{project}'
- autorelease-release-tag:
release-tag: 'Daily'
+ - autorelease-release-branch:
+ release-branch: '{branch}'
scm:
- git:
url: '$GIT_BASE'
refspec: ''
branches:
- - 'origin/master'
+ - 'origin/{branch}'
skip-tag: true
recursive-submodules: true
wrappers:
- autorelease-build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H 0 * * *'
global-settings: '{odl-global-settings}'
postbuilders:
- - maven-target:
+ - autorelease-maven-sources:
+ maven-version: '{mvn32}'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ - jacoco-nojava-workaround
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'sources.log,patches/*.patch'
+ - email-notification:
+ email-prefix: '[autorelease]'
+
+- job-template:
+ name: 'autorelease-release-lithium'
+
+ 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}'
+ - autorelease-release-tag:
+ release-tag: 'Pre-Lithium'
+ - autorelease-release-branch:
+ release-branch: '{branch}'
+
+ scm:
+ - git:
+ credentials-id: '{ssh-credentials}'
+ url: '$GIT_BASE'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ recursive-submodules: true
+
+ wrappers:
+ - autorelease-build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ prebuilders:
+ - shell:
+ !include-raw include-raw-autorelease-release-versions.sh
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install source:jar javadoc:jar -Pintegrationtests,docs,repoBuild -fae -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - autorelease-cfp:
+ autorelease-settings: '{autorelease-settings}'
+ odl-global-settings: '{odl-global-settings}'
+ - autorelease-maven-deploy
+ - autorelease-maven-sources:
maven-version: '{mvn32}'
- pom: 'pom.xml'
- goals: 'dependency:sources -l sources.log -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
- java-opts:
- - '-Xmx4096m -XX:MaxPermSize=1024m'
settings: '{autorelease-settings}'
global-settings: '{odl-global-settings}'
- jacoco-nojava-workaround
publishers:
- archive-artifacts:
- artifacts: 'sources.log'
+ artifacts: 'sources.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
default: '{release-tag}'
description: "The Release train tag to use eg. Helium-SR3"
+- parameter:
+ name: autorelease-release-branch
+ parameters:
+ - string:
+ name: RELEASE_BRANCH
+ default: '{release-branch}'
+ description: "The Release train branch to base build off eg. stable/helium"
+
- wrapper:
name: autorelease-build-timeout
wrappers:
type: absolute
timeout: 360
fail: true
+
+- builder:
+ name: autorelease-cfp
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: '{autorelease-settings}'
+ variable: 'AUTORELEASE_SETTINGS'
+ - file-id: '{odl-global-settings}'
+ variable: 'ODL_GLOBAL_SETTINGS'
+
+- builder:
+ name: autorelease-maven-deploy
+ builders:
+ - shell: |
+ mkdir -p hide/from/pom/files
+ cd hide/from/pom/files
+ mkdir -p m2repo/org/
+ mv /tmp/r/org/opendaylight m2repo/org/
+ mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository -DrepositoryDirectory="`pwd`/m2repo" -DnexusUrl=http://nexus.opendaylight.org/ -DstagingProfileId="21a27b7f3bbb8d" -DserverId="opendaylight.weekly" -s $AUTORELEASE_SETTINGS -gs $ODL_GLOBAL_SETTINGS
+
+- builder:
+ name: autorelease-maven-sources
+ builders:
+ - maven-target:
+ maven-version: '{maven-version}'
+ pom: 'pom.xml'
+ goals: 'dependency:sources -l sources.log -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ java-opts:
+ - '-Xmx4096m -XX:MaxPermSize=1024m'
+ settings: '{settings}'
+ global-settings: '{global-settings}'
--- /dev/null
+# Lithium build jobs
+
+- project:
+ name: autorelease-master
+ jobs:
+ - 'autorelease-daily-master'
+
+ branch: 'master'
+ project: 'releng/autorelease'
+ jdk: 'openjdk7'
+
+- job-template:
+ name: 'autorelease-daily-master'
+
+ 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}'
+ - autorelease-release-tag:
+ release-tag: 'Daily'
+ - autorelease-release-branch:
+ release-branch: '{branch}'
+
+ scm:
+ - git:
+ credentials-id: '{ssh-credentials}'
+ url: '$GIT_BASE'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ recursive-submodules: true
+
+ wrappers:
+ - autorelease-build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: 'H 0 * * *'
+
+ prebuilders:
+ - shell:
+ !include-raw-escape include-raw-autorelease-release-versions.sh
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install source:jar javadoc:jar -Pintegrationtests,docs,repoBuild -fae -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - autorelease-maven-sources:
+ maven-version: '{mvn32}'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ - jacoco-nojava-workaround
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'sources.log,patches/*.patch'
+ - email-notification:
+ email-prefix: '[autorelease]'
##############################################################################
# RELEASE_TAG=Helium-SR2 # Example
+# RELEASE_BRANCH=stable/helium # Example
./scripts/version.sh release $RELEASE_TAG
git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
git commit -am "Release $RELEASE_TAG"
-git submodule foreach "git format-patch --stdout origin/master > ../patches/${PWD##*/}.patch"
+
+mkdir patches
+git submodule foreach 'git format-patch --stdout origin/$RELEASE_BRANCH > ../patches/$name.patch'
./scripts/fix-relativepaths.sh
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
- 'bgpcep-daily-{stream}'
- 'bgpcep-integration-{stream}'
- 'bgpcep-sonar'
+ - 'bgpcep-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[bgpcep]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[bgpcep]'
- jacoco-report
+- job-template:
+ name: 'bgpcep-clm'
+
+ 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:
+ 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: '{bgpcep-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: bgpcep
+
+ publishers:
+ - email-notification:
+ email-prefix: '[bgpcep]'
+
- 'capwap-daily-{stream}'
- 'capwap-integration-{stream}'
- 'capwap-sonar'
+ - 'capwap-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[capwap]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[capwap]'
- jacoco-report
+- job-template:
+ name: 'capwap-clm'
+
+ 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:
+ 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: '{capwap-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: capwap
+
+ publishers:
+ - email-notification:
+ email-prefix: '[capwap]'
+
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: yangtools,aaa
+JDKS: openjdk7,openjdk8
- 'controller-daily-{stream}'
- 'controller-integration-{stream}'
- 'controller-sonar'
+ - 'controller-clm'
# stream: branch with - in place of / (eg. stable-helium)
type: jdk
values:
- openjdk7
+ - openjdk8
logrotate:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[controller]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[controller]'
- jacoco-report
+- job-template:
+ name: 'controller-clm'
+
+ 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:
+ 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: '{controller-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: controller
+
+ publishers:
+ - email-notification:
+ email-prefix: '[controller]'
+
- 'coretutorials-daily-{stream}'
- 'coretutorials-integration-{stream}'
- 'coretutorials-sonar'
+ - 'coretutorials-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[coretutorials]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[coretutorials]'
- jacoco-report
+- job-template:
+ name: 'coretutorials-clm'
+
+ 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:
+ 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: '{coretutorials-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: coretutorials
+
+ publishers:
+ - email-notification:
+ email-prefix: '[coretutorials]'
+
- 'defense4all-daily-{stream}'
- 'defense4all-integration-{stream}'
- 'defense4all-sonar'
+ - 'defense4all-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[defense4all]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[defense4all]'
- jacoco-report
+- job-template:
+ name: 'defense4all-clm'
+
+ 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:
+ 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: '{defense4all-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: defense4all
+
+ publishers:
+ - email-notification:
+ email-prefix: '[defense4all]'
+
- 'didm-daily-{stream}'
- 'didm-integration-{stream}'
- 'didm-sonar'
+ - 'didm-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[didm]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[didm]'
- jacoco-report
+- job-template:
+ name: 'didm-clm'
+
+ 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:
+ 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: '{didm-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: didm
+
+ publishers:
+ - email-notification:
+ email-prefix: '[didm]'
+
- 'discovery-daily-{stream}'
- 'discovery-integration-{stream}'
- 'discovery-sonar'
+ - 'discovery-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[discovery]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[discovery]'
- jacoco-report
+- job-template:
+ name: 'discovery-clm'
+
+ 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:
+ 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: '{discovery-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: discovery
+
+ publishers:
+ - email-notification:
+ email-prefix: '[discovery]'
+
- 'dlux-daily-{stream}'
- 'dlux-integration-{stream}'
- 'dlux-sonar'
+ - 'dlux-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[dlux]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[dlux]'
- jacoco-report
+- job-template:
+ name: 'dlux-clm'
+
+ 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:
+ 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: '{dlux-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: dlux
+
+ publishers:
+ - email-notification:
+ email-prefix: '[dlux]'
+
- 'docs-daily-{stream}'
- 'docs-integration-{stream}'
- 'docs-sonar'
+ - 'docs-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[docs]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[docs]'
- jacoco-report
+- job-template:
+ name: 'docs-clm'
+
+ 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:
+ 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: '{docs-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: docs
+
+ publishers:
+ - email-notification:
+ email-prefix: '[docs]'
+
- 'groupbasedpolicy-daily-{stream}'
- 'groupbasedpolicy-integration-{stream}'
- 'groupbasedpolicy-sonar'
+ - 'groupbasedpolicy-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[groupbasedpolicy]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[groupbasedpolicy]'
- jacoco-report
+- job-template:
+ name: 'groupbasedpolicy-clm'
+
+ 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:
+ 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: '{groupbasedpolicy-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: groupbasedpolicy
+
+ publishers:
+ - email-notification:
+ email-prefix: '[groupbasedpolicy]'
+
sleep 20
echo "Check OSGi bundles..."
-./client "feature:install ${CONTROLLERFEATURES}" || echo $? > ${WORKSPACE}/error.txt
+sshpass -p karaf ./client -u karaf "feature:install ${CONTROLLERFEATURES}" || echo $? > ${WORKSPACE}/error.txt
echo "Fetching Karaf log"
cd ${WORKSPACE}
sleep 60
echo "Checking OSGi bundles..."
-./client 'bundle:list'
+sshpass -p karaf ./client -u karaf 'bundle:list'
EOF
controller-vms: 1
mininet-vms: 1
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- integration-csit-gerrit-trigger-patch-submitted:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- integration-distribution-gerrit-trigger-patch-submitted:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- integration-distribution-gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
parameters:
- project-parameter:
project: 'integration'
- - integration-patch-git:
- patch-git: ''
- - integration-patch-refspec:
- patch-refspec: ''
- - integration-patch-git-url:
- patch-git-url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$PATCHGIT'
+ - integration-patch-git-url
scm:
- integration-gerrit-scm:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ server-name: 'OpenDaylight'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'test-integration'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '**'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
prebuilders:
- integration-get-bundle-url
- wipe-org-opendaylight-repo
- maven-target:
maven-version: '{mvn32}'
- pom: '$PATCHGIT/pom.xml'
+ pom: '$GERRIT_PROJECT/pom.xml'
goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
java-opts:
- '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
default: '{test-options}'
description: 'Robot command options'
-- parameter:
- name: integration-patch-git
- parameters:
- - string:
- name: PATCHGIT
- default: '{patch-git}'
- description: 'Patch GIT repository'
-
- parameter:
name: integration-patch-git-url
parameters:
- string:
name: PATCHGITURL
- default: '{patch-git-url}'
+ default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$GERRIT_PROJECT'
description: 'Patch GIT URL (do not modify)'
-- parameter:
- name: integration-patch-refspec
- parameters:
- - string:
- name: PATCHREFSPEC
- default: '{patch-refspec}'
- description: 'Patch Refspec'
-
- scm:
name: integration-gerrit-scm
scm:
- git:
credentials-id: '{credentials-id}'
url: '$PATCHGITURL'
- basedir: '$PATCHGIT'
- refspec: '$PATCHREFSPEC'
+ basedir: '$GERRIT_PROJECT'
+ refspec: '$GERRIT_REFSPEC'
branches:
- 'origin/{branch}'
skip-tag: true
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
controller-vms: 1
mininet-vms: 1
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- integration-test-gerrit-trigger-patch-submitted:
controller-vms: 1
mininet-vms: 1
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
controller-vms: 1
mininet-vms: 1
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
--- /dev/null
+- project:
+ name: openflowplugin-csit-scalability-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
+
+ # The project name
+ project: 'openflowplugin'
+
+ # The functionality under test
+ functionality: 'scalability'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+ - all:
+ scope: 'all'
+
+ # Features to install
+ install-features: 'odl-openflowplugin-flow-services-ui'
+
+ # Robot custom options
+ robot-options: '-v TOPO_TREE_DEPTH:5 -e adsal'
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
+
BRANCHES: master
-DEPENDENCIES: controller,yangtools,odlparent,aaa
\ No newline at end of file
+DEPENDENCIES: controller,yangtools,odlparent,aaa
+JDKS: openjdk7,openjdk8
- 'iotdm-daily-{stream}'
- 'iotdm-integration-{stream}'
- 'iotdm-sonar'
+ - 'iotdm-clm'
# stream: branch with - in place of / (eg. stable-helium)
type: jdk
values:
- openjdk7
+ - openjdk8
logrotate:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[iotdm]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[iotdm]'
- jacoco-report
+- job-template:
+ name: 'iotdm-clm'
+
+ 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:
+ 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: '{iotdm-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: iotdm
+
+ publishers:
+ - email-notification:
+ email-prefix: '[iotdm]'
+
--- /dev/null
+- project:
+ name: l2switch-csit-scalability-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
+
+ # The project name
+ project: 'l2switch'
+
+ # The functionality under test
+ functionality: 'scalability'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+ - all:
+ scope: 'all'
+
+ # Features to install
+ install-features: 'odl-l2switch-switch-ui'
+
+ # Robot custom options
+ robot-options: '-v TOPO_TREE_DEPTH:5'
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream},l2switch-distribution-{stream}'
+
- 'l2switch-daily-{stream}'
- 'l2switch-integration-{stream}'
- 'l2switch-sonar'
+ - 'l2switch-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[l2switch]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[l2switch]'
- jacoco-report
+- job-template:
+ name: 'l2switch-clm'
+
+ 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:
+ 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: '{l2switch-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: l2switch
+
+ publishers:
+ - email-notification:
+ email-prefix: '[l2switch]'
+
- 'lacp-daily-{stream}'
- 'lacp-integration-{stream}'
- 'lacp-sonar'
+ - 'lacp-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[lacp]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[lacp]'
- jacoco-report
+- job-template:
+ name: 'lacp-clm'
+
+ 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:
+ 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: '{lacp-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: lacp
+
+ publishers:
+ - email-notification:
+ email-prefix: '[lacp]'
+
- 'lispflowmapping-daily-{stream}'
- 'lispflowmapping-integration-{stream}'
- 'lispflowmapping-sonar'
+ - 'lispflowmapping-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[lispflowmapping]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[lispflowmapping]'
- jacoco-report
+- job-template:
+ name: 'lispflowmapping-clm'
+
+ 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:
+ 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: '{lispflowmapping-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: lispflowmapping
+
+ publishers:
+ - email-notification:
+ email-prefix: '[lispflowmapping]'
+
--- /dev/null
+#!/bin/bash
+#
+# NOTE: This file takes two jobs from the OpenStack infra and
+# puts them here. See here:
+#
+# https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/networking-odl.yaml
+
+export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin
+
+# *SIGH*. This is required to get lsb_release
+sudo yum -y install redhat-lsb-core indent python-testrepository
+
+echo "Making /opt/stack/new jenkins:jenkins"
+sudo /usr/sbin/groupadd jenkins
+sudo mkdir -p /opt/stack/new
+sudo chown -R jenkins:jenkins /opt/stack/new
+sudo bash -c 'echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers'
+
+# We need to install some scripts from openstack-infra/project-config
+cd ~
+echo "Setting up infra scripts"
+sudo mkdir -p /usr/local/jenkins/slave_scripts
+git clone https://git.openstack.org/openstack-infra/project-config
+cd project-config
+sudo cp jenkins/scripts/subunit2html.py /usr/local/jenkins/slave_scripts
+
+# Save existing WORKSPACE
+SAVED_WORKSPACE=$WORKSPACE
+export WORKSPACE=~/workspace
+mkdir -p $WORKSPACE
+cd $WORKSPACE
+
+# This is the job which checks out devstack-gate
+if [[ ! -e devstack-gate ]]; then
+ echo "Cloning devstack-gate"
+ git clone https://git.openstack.org/openstack-infra/devstack-gate
+else
+ echo "Fixing devstack-gate git remotes"
+ cd devstack-gate
+ git remote set-url origin https://git.openstack.org/openstack-infra/devstack-gate
+ git remote update
+ git reset --hard
+ if ! git clean -x -f ; then
+ sleep 1
+ git clean -x -f
+ fi
+ git checkout master
+ git reset --hard remotes/origin/master
+ if ! git clean -x -f ; then
+ sleep 1
+ git clean -x -f
+ fi
+ cd ..
+fi
+
+# Set the pieces we want to test
+if [ "$GERRIT_PROJECT" == "openstack/neutron" ]; then
+ ZUUL_PROJECT=$GERRIT_PROJECT
+ ZUUL_BRANCH=$GERRIT_REFSPEC
+elif [ "$GERRIT_PROJECT" == "openstack-dev/devstack" ]; then
+ ZUUL_PROJECT=$GERRIT_PROJECT
+ ZUUL_BRANCH=$GERRIT_REFSPEC
+fi
+
+echo "Setting environment variables"
+
+# Enable ODL debug logs and set memory parameters
+DEVSTACK_LOCAL_CONFIG=""
+DEVSTACK_LOCAL_CONFIG+="ODL_NETVIRT_DEBUG_LOGS=True;"
+DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MIN_MEM=512m;"
+DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MAX_MEM=784m;"
+DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MAX_PERM_MEM=784m;"
+
+# Set ODL_URL_PREFIX if "nexus proxy" is provided
+URL_PREFIX=${ODLNEXUSPROXY:-https://nexus.opendaylight.org}
+if [ -n "$ODLNEXUSPROXY" ] ; then
+ DEVSTACK_LOCAL_CONFIG+="ODL_URL_PREFIX=$ODLNEXUSPROXY;"
+fi
+
+## # Trim down the boot wait time
+## export ODL_BOOT_WAIT=30
+
+# Use Lithium build, if asked to do so
+if [ "${ODL_VERSION}" == "lithium-latest" ] ; then
+ NEXUSPATH="${URL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf"
+ BUNDLEVERSION='0.3.0-SNAPSHOT'
+
+ # Acquire the timestamp information from maven-metadata.xml
+ wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml
+ BUNDLE_TIMESTAMP=`xpath maven-metadata.xml "//snapshotVersion[extension='zip'][1]/value/text()" 2>/dev/null`
+ echo "Nexus timestamp is ${BUNDLE_TIMESTAMP}"
+
+ DEVSTACK_LOCAL_CONFIG+="ODL_NAME=distribution-karaf-${BUNDLEVERSION};"
+ DEVSTACK_LOCAL_CONFIG+="ODL_PKG=distribution-karaf-${BUNDLE_TIMESTAMP}.zip;"
+ DEVSTACK_LOCAL_CONFIG+="ODL_URL=${NEXUSPATH}/${BUNDLEVERSION};"
+fi
+
+# If Karaf netvirt feature was explicitly provided, add it to DEVSTACK_LOCAL_CONFIG
+if [ -n "$KARAFFEATURE" ] ; then
+ DEVSTACK_LOCAL_CONFIG+="ODL_NETVIRT_KARAF_FEATURE=${KARAFFEATURE};"
+fi
+
+# And this runs devstack-gate
+export PYTHONUNBUFFERED=true
+export DEVSTACK_GATE_TIMEOUT=120
+export DEVSTACK_GATE_NEUTRON=1
+export DEVSTACK_GATE_TEMPEST=1
+export BRANCH_OVERRIDE=master
+if [ "$BRANCH_OVERRIDE" != "default" ] ; then
+ export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
+fi
+# Because we are testing a non standard project, add
+# our project repository. This makes zuul do the right
+# reference magic for testing changes.
+export PROJECTS="stackforge/networking-odl $PROJECTS"
+# Note the actual url here is somewhat irrelevant because it
+# caches in nodepool, however make it a valid url for
+# documentation purposes.
+if [ "$GERRIT_PROJECT" == "stackforge/networking-odl" ]; then
+ export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://$GERRIT_HOST/$GERRIT_PROJECT $GERRIT_REFSPEC"
+else
+ export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://git.openstack.org/stackforge/networking-odl"
+fi
+
+
+# Keep localrc to be able to set some vars in pre_test_hook
+export KEEP_LOCALRC=1
+
+# Unset this because it's set by the underlying Jenkins node ...
+unset GIT_BASE
+
+# By default, only run certain tempest tests
+export DEVSTACK_GATE_TEMPEST_REGEX=${TEMPEST_REGEX:-"tempest.api.network.test_networks_negative tempest.api.network.test_networks.NetworksTestJSON"}
+
+# Specifically set the services we want
+#OVERRIDE_ENABLED_SERVICES=q-svc,q-dhcp,q-l3,q-meta,quantum,key,g-api,g-reg,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-xvnc,n-cauth,h-eng,h-api,h-api-cfn,h-api-cw,rabbit,tempest,mysql
+
+echo "Copying devstack-vm-gate-wrap.sh"
+cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
+echo "Running safe-devstack-vm-gate-wrap.sh"
+./safe-devstack-vm-gate-wrap.sh
+# Save the return value so we can exit with this
+DGRET=$?
+
+# Restore WORKSPACE
+OS_WORKSPACE=$WORKSPACE
+export WORKSPACE=$SAVED_WORKSPACE
+
+# Copy all the logs
+cp -r $OS_WORKSPACE/logs $WORKSPACE
+cp -a /opt/stack/new/logs/q-odl-karaf* $WORKSPACE/logs
+mkdir -p $WORKSPACE/logs/opendaylight
+cp -a /opt/stack/new/opendaylight/distribution*/etc $WORKSPACE/logs/opendaylight
+# Unzip the logs to make them easier to view
+gunzip $WORKSPACE/logs/*.gz
+
+exit $DGRET
--- /dev/null
+- project:
+ name: neutron-daily-openstack
+ jobs:
+ - 'neutron-daily-openstack-master'
+
+ project: 'neutron'
+
+- job-template:
+ name: 'neutron-daily-openstack-master'
+
+ project-type: freestyle
+ node: dynamic_devstack
+ description: 'Jenkins job to run Tempest tests for the ODL ML2 MechanismDriver on Neutron dummy provider. '
+ concurrent: true
+
+ logrotate:
+ daysToKeep: '198'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+
+ wrappers:
+ - timeout:
+ fail: true
+ timeout: 90
+ timeout-var: 'BUILD_TIMEOUT'
+ type: absolute
+ - ssh-agent-credentials:
+ users:
+ - '{openstack-gerrit-credentials}'
+ - jclouds:
+ single-use: true
+
+ triggers:
+ - timed: '@daily'
+
+ builders:
+ - inject:
+ properties-content: |
+ ODL_VERSION=lithium-latest
+ TEMPEST_REGEX=tempest.api.network
+ KARAFFEATURE=odl-neutron-dummyprovider-test
+ - shell:
+ !include-raw-escape include-raw-openstack-ci.sh
+
+ publishers:
+ - archive:
+ artifacts: 'logs/**'
+ fingerprint: false
+ - email-ext:
+ subject: '[neutron] $DEFAULT_SUBJECT'
+ attach-build-log: false
+ failure: false
+ unstable: false
+ fixed: false
- 'neutron-daily-{stream}'
- 'neutron-integration-{stream}'
- 'neutron-sonar'
+ - 'neutron-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[neutron]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[neutron]'
- jacoco-report
+- job-template:
+ name: 'neutron-clm'
+
+ 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:
+ 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: '{neutron-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: neutron
+
+ publishers:
+ - email-notification:
+ email-prefix: '[neutron]'
+
- 'nic-daily-{stream}'
- 'nic-integration-{stream}'
- 'nic-sonar'
+ - 'nic-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[nic]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[nic]'
- jacoco-report
+- job-template:
+ name: 'nic-clm'
+
+ 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:
+ 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]'
+
--- /dev/null
+BRANCHES: master,stable/helium,stable/lithium
- 'odlparent-daily-{stream}'
- 'odlparent-integration-{stream}'
- 'odlparent-sonar'
+ - 'odlparent-clm'
# stream: branch with - in place of / (eg. stable-helium)
branch: 'master'
- stable-helium:
branch: 'stable/helium'
+ - stable-lithium:
+ branch: 'stable/lithium'
project: 'odlparent'
jdk: 'openjdk7'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[odlparent]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[odlparent]'
- jacoco-report
+- job-template:
+ name: 'odlparent-clm'
+
+ 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:
+ 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: '{odlparent-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: odlparent
+
+ publishers:
+ - email-notification:
+ email-prefix: '[odlparent]'
+
- 'openflowjava-daily-{stream}'
- 'openflowjava-integration-{stream}'
- 'openflowjava-sonar'
+ - 'openflowjava-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[openflowjava]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[openflowjava]'
- jacoco-report
+- job-template:
+ name: 'openflowjava-clm'
+
+ 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:
+ 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: '{openflowjava-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: openflowjava
+
+ publishers:
+ - email-notification:
+ email-prefix: '[openflowjava]'
+
--- /dev/null
+- project:
+ name: openflowplugin-csit-cbench-daily-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+
+ # The project name
+ project: 'openflowplugin'
+
+ # The functionality under test
+ functionality: 'cbench-daily'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+
+ # Features to install
+ install-features: 'odl-openflowplugin-flow-services-ui,odl-openflowplugin-drop-test'
+
+ # Robot custom options
+ robot-options: '-v duration_in_secs:180'
+
+ # Trigger jobs (daily)
+ triggers:
+ - timed: '@daily'
+
+ trigger-jobs: ''
+
+ # Plot Info
+ 01-plot-title: 'Throughput Mode'
+ 01-plot-yaxis: 'flow_mods/sec'
+ 01-plot-group: 'Cbench Performance'
+ 01-plot-data-file: 'throughput.csv'
+ 02-plot-title: 'Latency Mode'
+ 02-plot-yaxis: 'flow_mods/sec'
+ 02-plot-group: 'Cbench Performance'
+ 02-plot-data-file: 'latency.csv'
--- /dev/null
+- project:
+ name: openflowplugin-csit-config-performance-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+
+ # The project name
+ project: 'openflowplugin'
+
+ # The functionality under test
+ functionality: 'config-performance'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+
+ # Features to install
+ install-features: 'odl-openflowplugin-flow-services-ui'
+
+ # Robot custom options
+ robot-options: ''
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
+
+ # Plot Info
+ 01-plot-title: 'Config Rest Api Rate'
+ 01-plot-yaxis: 'http_req/sec'
+ 01-plot-group: 'Config Performance'
+ 01-plot-data-file: 'rates.csv'
--- /dev/null
+- project:
+ name: openflowplugin-csit-flow-services-lithium-redesign
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+
+ # The project name
+ project: 'openflowplugin'
+
+ # The functionality under test
+ functionality: 'flow-services-lithium-redesign'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+
+ # Features to install
+ install-features: 'odl-openflowplugin-app-new-lldp-speaker'
+
+ # Robot custom options
+ robot-options: '-v TOPO_TREE_DEPTH:5 -e adsal'
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
scope: 'all'
# Features to install
- install-features: 'odl-openflowplugin-flow-services-ui,odl-openflowplugin-adsal-compatibility,odl-nsf-all'
+ install-features: 'odl-openflowplugin-flow-services-ui,odl-nsf-all'
# Robot custom options
robot-options: '-v TOPO_TREE_DEPTH:5 -e adsal'
#MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m
DEPENDENCIES: yangtools,controller,openflowjava
ARCHIVE_ARTIFACTS: model/*/target/site/**
+JDKS: openjdk7,openjdk8
- 'openflowplugin-daily-{stream}'
- 'openflowplugin-integration-{stream}'
- 'openflowplugin-sonar'
+ - 'openflowplugin-clm'
# stream: branch with - in place of / (eg. stable-helium)
type: jdk
values:
- openjdk7
+ - openjdk8
logrotate:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[openflowplugin]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[openflowplugin]'
- jacoco-report
+- job-template:
+ name: 'openflowplugin-clm'
+
+ 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:
+ 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: '{openflowplugin-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: openflowplugin
+
+ publishers:
+ - email-notification:
+ email-prefix: '[openflowplugin]'
+
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
timeout-var: 'BUILD_TIMEOUT'
type: absolute
- ssh-agent-credentials:
- user: '{openstack-gerrit-credentials}'
+ users:
+ - '{openstack-gerrit-credentials}'
- jclouds:
single-use: true
timeout-var: 'BUILD_TIMEOUT'
type: absolute
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: '@midnight'
timeout-var: 'BUILD_TIMEOUT'
type: absolute
- ssh-agent-credentials:
- user: '{openstack-gerrit-credentials}'
+ users:
+ - '{openstack-gerrit-credentials}'
- jclouds:
single-use: true
- 'ovsdb-merge-{stream}'
- 'ovsdb-daily-{stream}'
- 'ovsdb-integration-{stream}'
+ - 'ovsdb-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[ovsdb]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
- jacoco-report
+- job-template:
+ name: 'ovsdb-clm'
+
+ 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:
+ 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: '{ovsdb-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: ovsdb
+
+ publishers:
+ - email-notification:
+ email-prefix: '[ovsdb]'
+
- 'packetcable-daily-{stream}'
- 'packetcable-integration-{stream}'
- 'packetcable-sonar'
+ - 'packetcable-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[packetcable]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[packetcable]'
- jacoco-report
+- job-template:
+ name: 'packetcable-clm'
+
+ 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:
+ 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: '{packetcable-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: packetcable
+
+ publishers:
+ - email-notification:
+ email-prefix: '[packetcable]'
+
- 'persistence-daily-{stream}'
- 'persistence-integration-{stream}'
- 'persistence-sonar'
+ - 'persistence-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[persistence]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[persistence]'
- jacoco-report
+- job-template:
+ name: 'persistence-clm'
+
+ 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:
+ 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: '{persistence-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: persistence
+
+ publishers:
+ - email-notification:
+ email-prefix: '[persistence]'
+
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * 0'
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * 1'
name: jacoco-nojava-workaround
builders:
- shell: 'mkdir -p $WORKSPACE/target/classes'
+
+- builder:
+ name: check-clm
+ builders:
+ - sonatype-clm:
+ application-name: '{application-name}'
+ scan-targets: '**/target/**'
- 'reservation-daily-{stream}'
- 'reservation-integration-{stream}'
- 'reservation-sonar'
+ - 'reservation-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[reservation]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[reservation]'
- jacoco-report
+- job-template:
+ name: 'reservation-clm'
+
+ 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:
+ 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: '{reservation-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: reservation
+
+ publishers:
+ - email-notification:
+ email-prefix: '[reservation]'
+
- 'sdninterfaceapp-daily-{stream}'
- 'sdninterfaceapp-integration-{stream}'
- 'sdninterfaceapp-sonar'
+ - 'sdninterfaceapp-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[sdninterfaceapp]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[sdninterfaceapp]'
- jacoco-report
+- job-template:
+ name: 'sdninterfaceapp-clm'
+
+ 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:
+ 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: '{sdninterfaceapp-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: sdninterfaceapp
+
+ publishers:
+ - email-notification:
+ email-prefix: '[sdninterfaceapp]'
+
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
- 'sfc-daily-{stream}'
- 'sfc-integration-{stream}'
- 'sfc-sonar'
+ - 'sfc-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[sfc]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[sfc]'
- jacoco-report
+- job-template:
+ name: 'sfc-clm'
+
+ 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:
+ 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: '{sfc-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: sfc
+
+ publishers:
+ - email-notification:
+ email-prefix: '[sfc]'
+
- 'snbi-daily-{stream}'
- 'snbi-integration-{stream}'
- 'snbi-sonar'
+ - 'snbi-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[snbi]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[snbi]'
- jacoco-report
+- job-template:
+ name: 'snbi-clm'
+
+ 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:
+ 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: '{snbi-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: snbi
+
+ publishers:
+ - email-notification:
+ email-prefix: '[snbi]'
+
- 'snmp-daily-{stream}'
- 'snmp-integration-{stream}'
- 'snmp-sonar'
+ - 'snmp-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[snmp]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[snmp]'
- jacoco-report
+- job-template:
+ name: 'snmp-clm'
+
+ 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:
+ 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: '{snmp-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: snmp
+
+ publishers:
+ - email-notification:
+ email-prefix: '[snmp]'
+
- 'snmp4sdn-daily-{stream}'
- 'snmp4sdn-integration-{stream}'
- 'snmp4sdn-sonar'
+ - 'snmp4sdn-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[snmp4sdn]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[snmp4sdn]'
- jacoco-report
+- job-template:
+ name: 'snmp4sdn-clm'
+
+ 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:
+ 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: '{snmp4sdn-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: snmp4sdn
+
+ publishers:
+ - email-notification:
+ email-prefix: '[snmp4sdn]'
+
- 'sxp-daily-{stream}'
- 'sxp-integration-{stream}'
- 'sxp-sonar'
+ - 'sxp-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[sxp]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[sxp]'
- jacoco-report
+- job-template:
+ name: 'sxp-clm'
+
+ 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:
+ 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: '{sxp-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: sxp
+
+ publishers:
+ - email-notification:
+ email-prefix: '[sxp]'
+
- 'tcpmd5-daily-{stream}'
- 'tcpmd5-integration-{stream}'
- 'tcpmd5-sonar'
+ - 'tcpmd5-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[tcpmd5]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[tcpmd5]'
- jacoco-report
+- job-template:
+ name: 'tcpmd5-clm'
+
+ 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:
+ 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: '{tcpmd5-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: tcpmd5
+
+ publishers:
+ - email-notification:
+ email-prefix: '[tcpmd5]'
+
--- /dev/null
+DEPENDENCIES: odlparent,controller
+BRANCHES: master
--- /dev/null
+# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
+# Otherwise this file will be automatically overwritten by the template
+# autobuilder.
+
+# ODL Releng build templates
+- project:
+ name: toolkit
+ jobs:
+ - 'toolkit-verify-{stream}'
+ - 'toolkit-merge-{stream}'
+ - 'toolkit-daily-{stream}'
+ - 'toolkit-integration-{stream}'
+ - 'toolkit-sonar'
+ - 'toolkit-clm'
+
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'toolkit'
+ jdk: 'openjdk7'
+
+# For the Job templates below replace instances of:
+# PROJECT with your project name (eg. controller)
+# MAVEN_GOALS with your maven goals to build
+# MAVEN_OPTS with your maven options to build
+
+- job-template:
+ name: 'toolkit-verify-{stream}'
+
+ # Job template for ODL verify jobs
+ #
+ # The purpose of this job template is to setup a ODL verify job
+ #
+ # Required Variables:
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+
+ project-type: matrix
+ node: matrix_master
+ concurrent: true
+
+ axes:
+ - axis:
+ type: slave
+ name: nodes
+ values:
+ - dynamic_verify
+ - axis:
+ type: jdk
+ values:
+ - openjdk7
+
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: 'toolkit'
+ branch: '{branch}'
+
+ builders:
+ - wipe-org-opendaylight-repo
+ - maven-target:
+ maven-version: '{mvn32}'
+ pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
+ java-opts:
+ - '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+ - jacoco-nojava-workaround
+
+ publishers:
+ - findbugs
+ - email-notification:
+ email-prefix: '[toolkit]'
+ - jacoco-report
+
+- job-template:
+ name: 'toolkit-merge-{stream}'
+
+ # Job template for ODL merge jobs
+ #
+ # The purpose of this job template is to setup a ODL merge job
+ # and deploy artifacts to Nexus.
+ #
+ # Required Variables:
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+
+ 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:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-merged:
+ name: 'toolkit'
+ branch: '{branch}'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
+ maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - jacoco-nojava-workaround
+
+ reporters:
+ - findbugs
+
+ publishers:
+
+ - email-notification:
+ email-prefix: '[toolkit]'
+ - maven-deploy:
+ id: ''
+ unique-version: true
+ deploy-unstable: false
+ - jacoco-report
+
+- job-template:
+ name: 'toolkit-daily-{stream}'
+
+ # Job template for daily builders
+ #
+ # The purpose of this job template is to setup a daily/nightly
+ # builder and pushes to Sonar analysis.
+ #
+ # Required Variables:
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+
+ 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:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: 'H H * * *'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
+ maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - jacoco-nojava-workaround
+
+ reporters:
+ - findbugs
+
+ publishers:
+ - email-notification:
+ email-prefix: '[toolkit]'
+ - jacoco-report
+
+- job-template:
+ name: 'toolkit-integration-{stream}'
+ disabled: false
+
+ # Job template for ODL merge jobs
+ #
+ # The purpose of this job template is to setup a ODL merge job
+ # and deploy artifacts to Nexus.
+ #
+ # Required Variables:
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+
+ 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:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - reverse:
+ jobs: 'odlparent-merge-{stream},controller-merge-{stream}'
+ result: 'success'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
+ maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - jacoco-nojava-workaround
+
+ reporters:
+ - findbugs
+
+ publishers:
+ - email-notification:
+ email-prefix: '[toolkit] [odlparent] [controller]'
+ - jacoco-report
+
+- job-template:
+ name: 'toolkit-sonar'
+
+ project-type: maven
+ node: dynamic_verify
+ jdk: '{jdk}'
+
+ logrotate:
+ daysToKeep: '7'
+ numToKeep: '10'
+ artifactDaysToKeep: '1'
+ artifactNumToKeep: '1'
+
+ 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: 'H H * * *'
+
+ maven:
+ maven-name: '{mvn32}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
+ maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - jacoco-nojava-workaround
+
+ reporters:
+ - findbugs
+
+ publishers:
+ - sonar:
+ language: 'java'
+ maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
+ - email-notification:
+ email-prefix: '[toolkit]'
+ - jacoco-report
+
+- job-template:
+ name: 'toolkit-clm'
+
+ 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:
+ 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: '{toolkit-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: toolkit
+
+ publishers:
+ - email-notification:
+ email-prefix: '[toolkit]'
+
- 'topoprocessing-daily-{stream}'
- 'topoprocessing-integration-{stream}'
- 'topoprocessing-sonar'
+ - 'topoprocessing-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[topoprocessing]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[topoprocessing]'
- jacoco-report
+- job-template:
+ name: 'topoprocessing-clm'
+
+ 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:
+ 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: '{topoprocessing-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: topoprocessing
+
+ publishers:
+ - email-notification:
+ email-prefix: '[topoprocessing]'
+
- 'tsdr-daily-{stream}'
- 'tsdr-integration-{stream}'
- 'tsdr-sonar'
+ - 'tsdr-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[tsdr]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[tsdr]'
- jacoco-report
+- job-template:
+ name: 'tsdr-clm'
+
+ 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:
+ 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: '{tsdr-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: tsdr
+
+ publishers:
+ - email-notification:
+ email-prefix: '[tsdr]'
+
- 'ttp-daily-{stream}'
- 'ttp-integration-{stream}'
- 'ttp-sonar'
+ - 'ttp-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[ttp]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[ttp]'
- jacoco-report
+- job-template:
+ name: 'ttp-clm'
+
+ 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:
+ 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: '{ttp-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: ttp
+
+ publishers:
+ - email-notification:
+ email-prefix: '[ttp]'
+
- 'usc-daily-{stream}'
- 'usc-integration-{stream}'
- 'usc-sonar'
+ - 'usc-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[usc]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[usc]'
- jacoco-report
+- job-template:
+ name: 'usc-clm'
+
+ 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:
+ 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: '{usc-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: usc
+
+ publishers:
+ - email-notification:
+ email-prefix: '[usc]'
+
- 'vpnservice-daily-{stream}'
- 'vpnservice-integration-{stream}'
- 'vpnservice-sonar'
+ - 'vpnservice-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[vpnservice]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[vpnservice]'
- jacoco-report
+- job-template:
+ name: 'vpnservice-clm'
+
+ 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:
+ 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: '{vpnservice-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: vpnservice
+
+ publishers:
+ - email-notification:
+ email-prefix: '[vpnservice]'
+
- 'vtn-daily-{stream}'
- 'vtn-integration-{stream}'
- 'vtn-sonar'
+ - 'vtn-clm'
# stream: branch with - in place of / (eg. stable-helium)
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
- jacoco-nojava-workaround
publishers:
+ - findbugs
- email-notification:
email-prefix: '[vtn]'
- jacoco-report
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[vtn]'
- jacoco-report
+- job-template:
+ name: 'vtn-clm'
+
+ 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:
+ 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: '{vtn-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: vtn
+
+ publishers:
+ - email-notification:
+ email-prefix: '[vtn]'
+
project: 'yangtools'
+- project:
+ name: yangtools-verify-lithium
+ jobs:
+ - 'yangtools-verify-{stream}-{maven}-{jdk}'
+
+ jdk:
+ - openjdk7
+ - openjdk8
+ maven:
+ - mvn31:
+ mvnver: "Maven 3.1.1"
+ - mvn32:
+ mvnver: "Maven 3.2.5"
+
+ stream:
+ - stable-lithium:
+ branch: stable/lithium
+
+ project: 'yangtools'
+
- project:
name: yangtools-verify-helium
jobs:
wrappers:
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-submitted:
+BRANCHES: master,stable/helium,stable/lithium
DEPENDENCIES: odlparent
-JOB_TEMPLATES: merge,daily,integration,sonar
\ No newline at end of file
+JOB_TEMPLATES: merge,daily,integration,sonar
- 'yangtools-daily-{stream}'
- 'yangtools-integration-{stream}'
- 'yangtools-sonar'
+ - 'yangtools-clm'
# stream: branch with - in place of / (eg. stable-helium)
branch: 'master'
- stable-helium:
branch: 'stable/helium'
+ - stable-lithium:
+ branch: 'stable/lithium'
project: 'yangtools'
jdk: 'openjdk7'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit-trigger-patch-merged:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- reverse:
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
email-prefix: '[yangtools]'
- jacoco-report
+- job-template:
+ name: 'yangtools-clm'
+
+ 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:
+ 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: '{yangtools-settings}'
+ global-settings: '{odl-global-settings}'
+
+ postbuilders:
+ - check-clm:
+ application-name: yangtools
+
+ publishers:
+ - email-notification:
+ email-prefix: '[yangtools]'
+
else:
make_cfg = True
cfg_string.append("JOB_TEMPLATES: %s" % templates)
+templates += ",clm" # ensure we always create a clm job for all projects
if not branches:
branches = "master,stable/helium"
for t in use_templates:
if t == "project": # This is not a job type but is used for templating
pass
- elif t == "sonar":
+ elif t == "sonar" or t == "clm":
job_templates_yaml = job_templates_yaml + \
" - '%s-%s'\n" % (project, t)
else: