- 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: !include-raw: include-raw-autorelease-collect-sar.sh
- script-only-if-succeeded: false
- script-only-if-failed: false
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
- autorelease-generate-release-notes
publishers:
- - opendaylight-infra-sysstats
- lf-infra-publish
+++ /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]*")