#!/bin/bash
# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
##############################################################################
-# Copyright (c) 2015 The Linux Foundation and others.
+# Copyright (c) 2015, 2016 The Linux Foundation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
-NEXUSURL=http://nexus.opendaylight.org/content/repositories/
+NEXUSURL=https://nexus.opendaylight.org/staged-repos/
VERSION=`grep -m1 '<version>' ${WORKSPACE}/integration/distribution/distribution-karaf/pom.xml | awk -F'[<|>]' '/version/ { printf $3 }'`
REPOID=`grep "Created staging repository with ID" $WORKSPACE/deploy-staged-repository.log | cut -d '"' -f2`
# we are likely releasing a release candidate. We should skip closing the
# Nexus staging repository so that we can sign the artifacts.
SKIP_STAGING_CLOSE=false
-# TODO: Figure out a solution to Open staging repos not being available
-# immediately. This means integration tests cannot reliably download and
-# test the new build if we leave the staging repo open.
-# if [ "${DATESTAMP}" == "false" ]
-# then
-# SKIP_STAGING_CLOSE=true
-# fi
+if [ "${DATESTAMP}" == "false" ]
+then
+ SKIP_STAGING_CLOSE=true
+fi
mkdir -p hide/from/pom/files
cd hide/from/pom/files
(IFS='
'
for m in `xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' ../../../../pom.xml`; do
- rsync -avz --exclude 'maven-metadata-local.xml' \
- --exclude 'maven-metadata-*' \
+ rsync -avz --exclude 'maven-metadata*' \
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/$m" m2repo/org/opendaylight/
# Add exception for integration project since they release under the
# integration top-level project.
-rsync -avz --exclude 'maven-metadata-local.xml' \
- --exclude 'maven-metadata-*' \
+rsync -avz --exclude 'maven-metadata*' \
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/integration" m2repo/org/opendaylight/
# Bug 4676 means -all- would fail.
# Features to install
- install-features: 'odl-restconf,odl-clustering-test-app,odl-netconf-connector-ssh'
+ install-features: 'odl-restconf,odl-clustering-test-app,odl-jolokia'
# Robot custom options
robot-options: ''
scope: 'all'
# Features to install
- install-features: 'odl-restconf,odl-clustering-test-app,odl-netconf-connector-ssh'
+ install-features: 'odl-restconf,odl-clustering-test-app,odl-jolokia'
# Robot custom options
robot-options: ''
scope: 'all'
# Features to install
- install-features: 'odl-nic-core-service-mdsal,odl-nic-console'
+ install-features: 'odl-nic-console'
# Robot custom options
robot-options: ''
# Project branches
stream:
+ - boron:
+ branch: 'master'
+ - beryllium:
+ branch: 'stable/beryllium'
- stable-lithium:
branch: 'stable/lithium'
jdk: 'openjdk7'
scope: 'all'
# Features to install
- install-features: 'odl-nic-core,odl-nic-console,odl-nic-renderer-vtn'
+ install-features: 'odl-nic-console,odl-nic-renderer-vtn'
# Robot custom options
robot-options: ''
project-type: freestyle
logrotate:
- daysToKeep: 30
+ daysToKeep: 7
numToKeep: 10
artifactDaysToKeep: -1
artifactNumToKeep: 5
project-type: freestyle
logrotate:
- daysToKeep: 30
+ daysToKeep: 7
numToKeep: 10
artifactDaysToKeep: -1
artifactNumToKeep: -1
project-type: freestyle
logrotate:
- daysToKeep: 30
- numToKeep: 40
+ daysToKeep: 7
+ numToKeep: 3
artifactDaysToKeep: -1
- artifactNumToKeep: 5
+ artifactNumToKeep: -1
parameters:
- project-parameter:
- job-template:
name: 'builder-weekly'
+ disabled: true
node: jjbuilder
# builder-weekly job to run JJB update weekly
project-type: freestyle
logrotate:
- daysToKeep: 30
- numToKeep: 40
+ daysToKeep: 7
+ numToKeep: 3
artifactDaysToKeep: -1
- artifactNumToKeep: 5
+ artifactNumToKeep: -1
parameters:
- project-parameter:
logrotate:
daysToKeep: 7
- numToKeep: 10
+ numToKeep: 3
artifactDaysToKeep: -1
artifactNumToKeep: -1
STREAMS:
- boron:
branch: master
- jdks: openjdk7,openjdk8
+ jdks: openjdk8
autorelease: true
- beryllium:
branch: stable/beryllium
stream:
- boron:
branch: 'master'
- jdk: openjdk7
+ jdk: openjdk8
jdks:
- - openjdk7
- openjdk8
disable_autorelease: False
- beryllium:
scope: 'all'
# Features to install
- install-features: 'odl-restconf,odl-tsdr-cassandra,odl-tsdr-openflow-statistics-collector'
+ install-features: 'odl-restconf,odl-tsdr-cassandra,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
# Robot custom options
robot-options: ' '
scope: 'all'
# Features to install
- install-features: 'odl-restconf,odl-tsdr-hbase,odl-tsdr-openflow-statistics-collector'
+ install-features: 'odl-restconf,odl-tsdr-hbase,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
# Robot custom options
robot-options: ' '
scope: 'all'
# Features to install
- install-features: 'odl-restconf,odl-tsdr-hsqldb,odl-tsdr-openflow-statistics-collector'
+ install-features: 'odl-restconf,odl-tsdr-hsqldb,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
# Robot custom options
robot-options: ' '