if [ "$GERRIT_BRANCH" != "stable/beryllium" ]; then
cd $WORKSPACE/scripts/release_notes_management
java -jar target/autonotes.jar
+ if [ -f "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" ]; then
+ mkdir -p $WORKSPACE/archives
+ cp -vf "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" "$WORKSPACE/archives"
+ fi
fi
- publisher:
publishers:
- postbuildscript:
builders:
- - shell: |
- mkdir -p archives/
- cp /var/log/sa/* $_
- # convert sar data to ascii format
- sar -A -f /var/log/sa/sa$(date +%d) > archives/sar$(date +%d)
+ - shell: !include-raw: include-raw-autorelease-collect-sar.sh
script-only-if-succeeded: false
script-only-if-failed: false
wrappers:
- opendaylight-infra-wrappers:
- build-timeout: '1440'
+ build-timeout: '900'
triggers:
- timed: '{cron}'
publishers:
- opendaylight-infra-sysstats
- - archive:
- artifacts: 'scripts/release_notes_management/projects/release-notes.rst, /var/log/sa/*'
- opendaylight-infra-shiplogs:
maven-version: 'mvn33'
--- /dev/null
+#!/bin/bash
+# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
+##############################################################################
+# Copyright (c) 2017 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
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
+
+mkdir -p archives/sar
+cp /var/log/sa/* $_
+# convert sar data to ascii format
+while IFS="" read -r s
+do
+ [ -f "$s" ] && sar -A -f "$s" > archives/sar/sar${s//[!0-9]/}
+done < <(find /var/log/sa -name "sa[0-9]*")
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- '{project-name}-merge-{stream}'
- # TODO uncomment the below line once lacp is added back to Carbon
- # - '{project-name}-validate-autorelease-{stream}'
+ - '{project-name}-validate-autorelease-{stream}'
- '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
- opendaylight-infra-properties:
build-days-to-keep: 7
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
wrappers:
- opendaylight-infra-wrappers:
build-timeout: '{build-timeout}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- '{project-name}-merge-{stream}'
- - '{project-name}-validate-autorelease-{stream}'
+ # remove nitrogen validate job until SNMP4SDN is back in nitrogen
+ # - '{project-name}-validate-autorelease-{stream}'
- '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
cd /tmp/build_quagga
git clone https://github.com/6WIND/zrpcd.git
cd zrpcd
-git checkout 20170418
chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t -v 2