builders:
- shell: !include-raw: include-raw-autorelease-release-versions.sh
-- builder:
- name: autorelease-sys-stats
- builders:
- - shell: |
- uname -a
- df -h
- # generate accounting summary
- sudo LC_ALL=C /usr/lib64/sa/sa2 -A
- sar -r
-
- builder:
name: autorelease-get-integration-test-variables
builders:
- shell: |
./scripts/fix-relativepaths.sh
+- builder:
+ name: autorelease-generate-release-notes
+ builders:
+ - shell: |
+ cd $WORKSPACE/scripts/release_notes_management
+ java -jar target/autonotes.jar
+
- publisher:
# include-raw-autorelease-notify-build-failure.sh searches console log for
# failures and emails the status to the release mailing list.
- shell: !include-raw: include-raw-autorelease-notify-build-failure.sh
script-only-if-succeeded: 'False'
script-only-if-failed: 'True'
+
+- publisher:
+ # generate sar accounting summary and copy sar data to archive
+ name: opendaylight-infra-sysstats
+ publishers:
+ - postbuildscript:
+ builders:
+ - shell: |
+ mkdir -p archives/
+ 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,sysstat} -name "sa[0-9]*")
+ script-only-if-succeeded: false
+ script-only-if-failed: false