Remove sysstats change to avoid duplicity 20/58720/2
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 12 Jun 2017 09:52:16 +0000 (19:52 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 12 Jun 2017 09:58:45 +0000 (19:58 +1000)
Now we have sysstats as part of lf-infra-publish which is integrated
into global-jjb repo, therefore remove all sysstat changes.

Change-Id: Idc046f18726c2afafb6578d1adcfc83dfc2614fb
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-templates.yaml
jjb/autorelease/include-raw-autorelease-collect-sar.sh [deleted file]

index 2390bc6a814084bfe3a17d1dd57f240247c09653..9d24d31d2d3545d14038536b0431680b609b59ea 100644 (file)
             - 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
index a5e63fa9afc17e959d0abf5974fb363515067792..4219b2f4e3f0f9a72534a7b504b8ed08f4b167dc 100644 (file)
 
     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
diff --git a/jjb/autorelease/include-raw-autorelease-collect-sar.sh b/jjb/autorelease/include-raw-autorelease-collect-sar.sh
deleted file mode 100644 (file)
index e5af468..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/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]*")