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 :
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'
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
+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'
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
#
--- /dev/null
+- project:
+ name: iotdm-csit-basic-master
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
+
+ # The project name
+ project: 'iotdm'
+
+ # The functionality under test
+ functionality: 'basic'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+ - all:
+ scope: 'all'
+
+ # Features to install
+ install-features: 'odl-iotdm-onem2m'
+
+ # Robot custom options
+ robot-options: ''
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'iotdm-distribution-{stream}'
\ No newline at end of file
--- /dev/null
+- project:
+ name: iotdm-distribution
+ jobs:
+ - '{project}-distribution-{stream}'
+
+ # The project name
+ project: 'iotdm'
+
+ # The project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ jdk: 'openjdk7'
+
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'
jdks: openjdk7,openjdk8
- stable/helium:
jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7,openjdk8
MVN_GOALS: -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate
#MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m
DEPENDENCIES: yangtools,controller,openflowjava
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
+ - openjdk8
project: 'openflowplugin'
+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'
-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'
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'
+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'
--- /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'
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'
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'
# 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