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: !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: |
+ # generate accounting summary
+ sudo LC_ALL=C /usr/lib64/sa/sa2 -A
+ mkdir -p archives/
+ cp /var/log/sa/* $_
settings: 'autorelease-settings'
global-settings: 'odl-global-settings'
- autorelease-maven-sources-post-process
- - autorelease-sys-stats
- shell: |
mkdir -p archives/
cp *.log *.prop $_
settings: 'autorelease-settings'
global-settings: 'odl-global-settings'
- autorelease-maven-sources-post-process
- - autorelease-sys-stats
- shell: |
mkdir -p archives/
- cp /var/log/sa/* *.log *.prop $_
+ cp *.log *.prop $_
publishers:
- opendaylight-infra-notify-status
+ - opendaylight-infra-sysstats
- archive:
# Need to archive dependencies.log in Jenkins to provide a simple
# way for downstream jobs to pull the latest version of this file
echo -e "nproc:\n $(nproc) \n"
echo -e "lscpu:\n $(lscpu) \n"
echo -e "ip addr:\n $(/sbin/ip addr) \n"
+ echo -e "sar -r:\n $(sar -r) \n"
} 2>&1 | tee -a "$ARCHIVES_DIR/_sys-info.txt"
# Magic string used to trim console logs at the appropriate level during wget
settings-type: cfp
global-settings: 'odl-global-settings'
global-settings-type: cfp
- - autorelease-sys-stats
publishers:
- email-notification: