yum clean all
yum install -y python-{tox,virtualenv} xmlstarlet
+# add in mono components for VTN
+yum install -y yum-utils
+#The following is needed for the new code in vtn project.
+#these packages will enable C# compilation.
+rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
+#Added the mono tools repository
+yum-config-manager -q -y --add-repo http://download.mono-project.com/repo/centos6
+#Install the nuget binary
+yum install -q -y http://download.mono-project.com/repo/centos/RPMS/noarch/nuget-2.8.3+md58+dhx1-0.noarch.rpm
+#install the mono toolchain
+yum -q -y install mono-complete
+
# vim: sw=2 ts=2 sts=2 et :
name: 'PROJECT-integration-{stream}'
disabled: DISABLED
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'aaa-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
BRANCHES:
- master:
jdks: openjdk7
-DEPENDENCIES: controller,yangtools,odlparent,bpgcep
\ No newline at end of file
+- stable/lithium:
+ jdks: openjdk7
+DEPENDENCIES: controller,yangtools,odlparent,l2switch
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'alto'
name: 'alto-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
triggers:
- reverse:
- jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},bpgcep-merge-{stream}'
+ jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},l2switch-merge-{stream}'
result: 'success'
prebuilders:
publishers:
- email-notification:
- email-prefix: '[alto] [controller] [yangtools] [odlparent] [bpgcep]'
+ email-prefix: '[alto] [controller] [yangtools] [odlparent] [l2switch]'
- jacoco-report
- job-template:
global-settings: '{odl-global-settings}'
postbuilders:
+ - shell: "./scripts/list-project-dependencies.sh"
- autorelease-maven-sources:
maven-version: '{mvn32}'
settings: '{autorelease-settings}'
global-settings: '{odl-global-settings}'
+ - autorelease-maven-sources-post-process
- jacoco-nojava-workaround
publishers:
- archive-artifacts:
- artifacts: 'sources.log,patches/*.patch'
+ artifacts: '*.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
autorelease-settings: '{autorelease-settings}'
odl-global-settings: '{odl-global-settings}'
- autorelease-maven-deploy
+ - shell: "./scripts/list-project-dependencies.sh"
- autorelease-maven-sources:
maven-version: '{mvn32}'
settings: '{autorelease-settings}'
global-settings: '{odl-global-settings}'
+ - autorelease-maven-sources-post-process
- jacoco-nojava-workaround
publishers:
- archive-artifacts:
- artifacts: 'sources.log,patches/*.patch'
+ artifacts: '*.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
- 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'
+ goals: 'dependency:sources -DoutputFile=sources.log -DappendOutput -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}'
+- builder:
+ name: autorelease-maven-sources-post-process
+ builders:
+ - shell: |
+ awk '/The following files have NOT been resolved:/,/^$/' sources.log > missing-sources.log
global-settings: '{odl-global-settings}'
postbuilders:
+ - shell: "./scripts/list-project-dependencies.sh"
- autorelease-maven-sources:
maven-version: '{mvn32}'
settings: '{autorelease-settings}'
global-settings: '{odl-global-settings}'
+ - autorelease-maven-sources-post-process
- jacoco-nojava-workaround
publishers:
- archive-artifacts:
- artifacts: 'sources.log,patches/*.patch'
+ artifacts: '*.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
git commit -am "Release $RELEASE_TAG"
mkdir patches
-git submodule foreach 'git format-patch --stdout origin/$RELEASE_BRANCH > ../patches/$name.patch'
+modules=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' pom.xml`
+for module in $modules; do
+ cd $module
+ git format-patch --stdout origin/$RELEASE_BRANCH > ../patches/$module.patch
+ cd ..
+done
./scripts/fix-relativepaths.sh
+++ /dev/null
-- project:
- name: bgpcep-verify
- jobs:
- - 'bgpcep-verify-{stream}'
- - 'bgpcep-verify-stable-helium'
-
-
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
- stream:
- - master:
- branch: 'master'
- - stable-lithium:
- branch: 'stable/lithium'
-
- project: 'bgpcep'
-
-- job-template:
- name: 'bgpcep-verify-{stream}'
-
- # Job template for ODL verify jobs
- #
- # The purpose of this job template is to setup a ODL verify job
- #
- # Required Variables:
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
-
- project-type: matrix
- node: matrix_master
- concurrent: true
-
- axes:
- - axis:
- type: slave
- name: nodes
- values:
- - dynamic_verify
- - axis:
- type: jdk
- values:
- - openjdk7
- - openjdk8
-
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- name: 'bgpcep'
- branch: '{branch}'
-
- builders:
- - wipe-org-opendaylight-repo
- - maven-target:
- maven-version: '{mvn32}'
- pom: 'pom.xml'
- goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
- java-opts:
- - '-Xmx1024m -XX:MaxPermSize=256m'
- settings: '{bgpcep-settings}'
- global-settings: '{odl-global-settings}'
- - jacoco-nojava-workaround
-
- publishers:
- - findbugs
- - email-notification:
- email-prefix: '[bgpcep]'
- - jacoco-report
-
-- job-template:
- name: 'bgpcep-verify-stable-helium'
-
- project-type: matrix
- node: matrix_master
- concurrent: true
-
- axes:
- - axis:
- type: slave
- name: nodes
- values:
- - dynamic_verify
- - axis:
- type: jdk
- values:
- - openjdk7
-
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: 'stable/helium'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- name: 'bgpcep'
- branch: 'stable/helium'
-
- builders:
- - wipe-org-opendaylight-repo
- - maven-target:
- maven-version: '{mvn32}'
- pom: 'pom.xml'
- goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
- java-opts:
- - '-Xmx1024m -XX:MaxPermSize=256m'
- settings: '{bgpcep-settings}'
- global-settings: '{odl-global-settings}'
- - jacoco-nojava-workaround
-
- publishers:
- - findbugs
- - email-notification:
- email-prefix: '[bgpcep]'
- - jacoco-report
-JOB_TEMPLATES: merge,daily,integration,sonar
BRANCHES:
- master:
jdks: openjdk7,openjdk8
- project:
name: bgpcep
jobs:
+ - 'bgpcep-verify-{stream}'
- 'bgpcep-merge-{stream}'
- 'bgpcep-daily-{stream}'
- 'bgpcep-integration-{stream}'
# MAVEN_GOALS with your maven goals to build
# MAVEN_OPTS with your maven options to build
+- job-template:
+ name: 'bgpcep-verify-{stream}'
+
+ # Job template for ODL verify jobs
+ #
+ # The purpose of this job template is to setup a ODL verify job
+ #
+ # Required Variables:
+ # stream: 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: '{obj:jdks}'
+
+ logrotate:
+ daysToKeep: '{build-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: 'bgpcep'
+ branch: '{branch}'
+
+ builders:
+ - wipe-org-opendaylight-repo
+ - maven-target:
+ maven-version: '{mvn32}'
+ pom: 'pom.xml'
+ goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
+ java-opts:
+ - '-Xmx1024m -XX:MaxPermSize=256m'
+ settings: '{bgpcep-settings}'
+ global-settings: '{odl-global-settings}'
+ - jacoco-nojava-workaround
+
+ publishers:
+ - findbugs
+ - email-notification:
+ email-prefix: '[bgpcep]'
+ - jacoco-report
+
- job-template:
name: 'bgpcep-merge-{stream}'
name: 'bgpcep-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'capwap-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
install-features: 'odl-netconf-connector-all,odl-restconf-all'
# Robot custom options
- robot-options: ''
+ robot-options: '-v NETOPEER_USER:root'
# Trigger jobs (upstream dependencies)
trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream}'
install-features: 'odl-netconf-connector-all,odl-restconf-all'
# Robot custom options
- robot-options: ''
+ robot-options: '-v NETOPEER_USER:root'
# Trigger jobs (upstream dependencies)
trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream}'
name: 'controller-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'coretutorials-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
+BRANCHES:
+- master:
+ jdks: openjdk7
+- stable/helium:
+ jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
DEPENDENCIES: odlparent
POM: dfapp/pom.xml
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'defense4all'
name: 'defense4all-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'didm-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'discovery-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'dlux-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'docs-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'groupbasedpolicy-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
SUITES=$( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt | tr '\012' ' ' )
echo "Starting Robot test suites ${SUITES} ..."
-pybot -N ${TESTPLAN} -c critical -e exclude -v BUNDLEFOLDER:${BUNDLEFOLDER} -v WORKSPACE:/tmp -v CONTROLLER:${CONTROLLER0} -v MININET:${MININET0} -v MININET_USER:${USER} -v USER_HOME:${HOME} -v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} ${TESTOPTIONS} ${SUITES}
+pybot -N ${TESTPLAN} -c critical -e exclude -v BUNDLEFOLDER:${BUNDLEFOLDER} -v WORKSPACE:/tmp \
+-v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} -v CONTROLLER:${CONTROLLER0} \
+-v MININET:${MININET0} -v MININET_USER:${USER} -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES} || true
+# the "|| true" is there to swallow a non-zero error code, as we do not want a failed critical test case to stop this script (run with -xe by Jenkins) from gathering karaf.log
echo "Fetching Karaf log"
scp ${CONTROLLER0}:/tmp/${BUNDLEFOLDER}/data/log/karaf.log .
pybot -N ${TESTPLAN} -c critical -e exclude -v BUNDLEFOLDER:${BUNDLEFOLDER} -v WORKSPACE:/tmp \
-v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} -v CONTROLLER:${CONTROLLER0} -v CONTROLLER1:${CONTROLLER1} -v CONTROLLER2:${CONTROLLER2} \
--v MININET:${MININET0} -v MININET_USER:${USER} -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES}
+-v MININET:${MININET0} -v MININET_USER:${USER} -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES} || true
+# the "|| true" is there to swallow a non-zero error code, as we do not want a failed critical test case to stop this script (run with -xe by Jenkins) from gathering karaf.log
#
BRANCHES:
- master:
jdks: openjdk7,openjdk8
+- stable/lithium:
+ jdks: openjdk7,openjdk8
DEPENDENCIES: controller,yangtools,odlparent,aaa
jdks:
- openjdk7
- openjdk8
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
+ - openjdk8
project: 'iotdm'
name: 'iotdm-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'l2switch-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'lacp-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'lispflowmapping-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
BRANCHES:
- master:
jdks: openjdk7,openjdk8
+- stable/lithium:
+ jdks: openjdk7,openjdk8
jdks:
- openjdk7
- openjdk8
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
+ - openjdk8
project: 'neutron'
name: 'neutron-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'nic-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'odlparent-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'openflowjava-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'openflowplugin-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
+BRANCHES:
+- master:
+ jdks: openjdk7
+- stable/helium:
+ jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
DEPENDENCIES: odlparent,controller,yangtools,openflowplugin,neutron
-JOB_TEMPLATES: verify,merge,daily,integration
\ No newline at end of file
+JOB_TEMPLATES: verify,merge,daily,integration
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'ovsdb'
name: 'ovsdb-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
-DEPENDENCIES: controller,yangtools
\ No newline at end of file
+BRANCHES:
+- master:
+ jdks: openjdk7
+- stable/helium:
+ jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
+DEPENDENCIES: controller,yangtools
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'packetcable'
name: 'packetcable-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'persistence-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
BRANCHES:
- master:
jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
DEPENDENCIES: odlparent,controller,yangtools,groupbasedpolicy
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'reservation'
name: 'reservation-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'sdninterfaceapp-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
+BRANCHES:
+- master:
+ jdks: openjdk7
+- stable/helium:
+ jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true
DEPENDENCIES: odlparent,yangtools,controller,openflowplugin,ovsdb,lispflowmapping
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'sfc'
name: 'sfc-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'snbi-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'snmp-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'snmp4sdn-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'sxp-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'tcpmd5-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'toolkit-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'topoprocessing-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
--- /dev/null
+- project:
+ name: tsdr-csit-tsdr-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
+
+ # The project name
+ project: 'tsdr'
+
+ # The functionality under test
+ functionality: 'hbase-datastore'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+ - all:
+ scope: 'all'
+
+ # Features to install
+ install-features: 'odl-tsdr-hbase'
+
+ # Robot custom options
+ robot-options: ' '
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream},tsdr-distribution-{stream}'
+
--- /dev/null
+- project:
+ name: tsdr-distribution
+ jobs:
+ - '{project}-distribution-{stream}'
+
+ # The project name
+ project: 'tsdr'
+
+ # The project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ jdk: 'openjdk7'
+
BRANCHES:
- master:
jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
MVN_GOALS: clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'tsdr'
name: 'tsdr-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'ttp-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
BRANCHES:
- master:
jdks: openjdk7
-DEPENDENCIES: controller,yangtools,odlparent
\ No newline at end of file
+- stable/lithium:
+ jdks: openjdk7
+DEPENDENCIES: controller,yangtools,odlparent
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'usc'
name: 'usc-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
BRANCHES:
- master:
jdks: openjdk7
-DEPENDENCIES: controller,yangtools,odlparent,openflowplugin
\ No newline at end of file
+- stable/lithium:
+ jdks: openjdk7
+DEPENDENCIES: controller,yangtools,odlparent,openflowplugin
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'vpnservice'
name: 'vpnservice-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
scope: 'all'
# Features to install
- install-features: 'odl-openflowplugin-flow-services-ui,odl-openflowplugin-adsal-compatibility,odl-vtn-manager-all'
+ install-features: 'odl-vtn-manager-rest,odl-vtn-manager-neutron'
# Robot custom options
robot-options: ''
name: 'vtn-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
name: 'yangtools-integration-{stream}'
disabled: false
- # Job template for ODL merge jobs
+ # Job template for ODL integration verify jobs
#
- # The purpose of this job template is to setup a ODL merge job
- # and deploy artifacts to Nexus.
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
#
# Required Variables:
# stream: branch with - in place of / (eg. stable-helium)
# should only really be done on an EL7 (or F18+) system
yum install -q -y {jansson,libevent,libevent2,libnl,libuuid}-devel \
python-{devel,virtualenv,setuptools}
+
+#get yum-config-manager
+yum -q -y install yum-utils
+#The following is needed for the new code in vtn project.
+#these packages will enable C# compilation.
+rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
+#Added the mono tools repository
+yum-config-manager -q -y --add-repo http://download.mono-project.com/repo/centos6
+#Install the nuget binary
+yum install -q -y http://download.mono-project.com/repo/centos/RPMS/noarch/nuget-2.8.3+md58+dhx1-0.noarch.rpm
+#install the mono toolchain
+yum -q -y install mono-complete